R
R
Ruslan Magomedov2019-10-16 21:53:05
JavaScript
Ruslan Magomedov, 2019-10-16 21:53:05

Hieroglyphs instead of Cyrillic in Flutter application, how to fix?

In a Flutter application, the design of the main screen is configured through the config.json file located on the hosting.
Connecting the file via constants.dart:
5da7675523692698528549.jpeg
Code snippet in the config.json file itself:
5da766158e8e0570683361.jpeg
How it looks in the application:
5da76689db5b1443824283.jpeg
As you can see from the 3rd screenshot, the localization works fine (the ru.arb localization file and the generated i18n.dart). Even on the same main screen, the Russian language is displayed normally, but for some reason, hieroglyphs come from this file. The file encoding is in UTF-8 like all other application files. What could be the problem?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question