forked from e-mission/cordova-server-communication
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure that all data is sent over as UTF-8
On android, unless we explicitly serialize the data as UTF-8, it is serialized as ISO-8851. On iOS, it is serialized as UTF-8 by default. In both, it is probably best to explicitly mark the content as UTF-8 in the HTTP header Bump up the version number to match This fixes e-mission/e-mission-docs#333 Testing done: - on android: set the locale to French, set the date to Fevr and synced data - before this change, it did not work - after this change, it works - on iOS, set the locale to French, set the date to Fevr and synced data - the formatted data did not have any words so even before this fix, it worked - this did not cause a regression
- Loading branch information
Showing
4 changed files
with
14 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters