aissat / easy_localization

Easy and Fast internationalizing your Flutter Apps
https://pub.dev/packages/easy_localization
MIT License
881 stars 312 forks source link

French translation Special Cahracters are not displayed correctly #658

Closed securexperts closed 2 months ago

securexperts commented 2 months ago

Hello,

I have successfully implemented Easy_Localization Release 3.0.5 When I switch from english to french all special characters like é, à, ç, etc are not correctly displayed. I get always two characters instead of one with wired Chars.

Text("Test_ö_é"), // OK Text("teststring".tr()), //Not OK

How do I correct this?

Thanks for Helping me

securexperts commented 2 months ago

Dear All, I was wrong. I had a problem with the translation parsing coming from the Internet Had to insert this utf8 decuding like this: String responseBody = utf8.decode(translationResponse.bodyBytes); Sorry it was my fault