B4J Question Encode strings

besoft

Active Member
Licensed User
Longtime User
Hello,

I have ini file from which I read some information. The data type is string.

When I displays the information on the form, the data is not correctly written, certain characters can not be seen or are altered.

How can I translate/encode the strings from UTF-8 strings on Windows-1252 strings?
Can this be done for the entire application? Is there a general setting?

B4X:
Public MSG_5 As String

MSG_5 = INI_LNG.rdString("MSG", "MSG_5")
 

besoft

Active Member
Licensed User
Longtime User
Thanks for the reply.

I used the library db2000.B4J.INI that is easy to use.

Why do I use this method? The application is designed with multi-language support. All buttons, label, ... have been translated into several languages.

I already solved the problem so that I file saved as UTF-8. The solution was found in the forum.

Is there a better way to work with multilingual support?

Thx
 
Upvote 0
Top