Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Non-ASCII characters are not displayed correctly #229

Open
chamartt opened this issue Sep 12, 2024 · 0 comments
Open

Non-ASCII characters are not displayed correctly #229

chamartt opened this issue Sep 12, 2024 · 0 comments

Comments

@chamartt
Copy link

Hi,

Since Flutter/Pods/Pub updates, all our non-ascii characters are not displayed correctly anymore.

For exemple, emojis are not displayed anymore and accented characters like "é" are displayed as "é".

We are using network json files, which are working correctly for our production release (which is with the non up-to-date Flutter version)

Files have not been updated, and are in UTF-8 without BOM.

We didn't touch the plugin initilization which is:

final FlutterI18nDelegate flutterI18nDelegate = FlutterI18nDelegate( translationLoader: NetworkFileTranslationLoader( useCountryCode: false, fallbackFile: 'fr', forcedLocale: locale, baseUri: Uri.https([OUR SERVER], "translations"), decodeStrategies: [JsonDecodeStrategy()], ), );

It look like encoding issue, but I don't know how to fix it.

Thanks in advance for your help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant