Unicode - polish char

ajk

Active Member
Licensed User
Longtime User
I can not display polish char in listview (loaded from text file).
Chars loaded are:
ąśćźżńłóęąśćź
ąśćźżńłóę
ąśćźżńłóę
ąśćźżńłóę
ąśćźżńłóę
ąśćźżńłóę
żńłóęąśćźżńłóęąśćźżńłóę
Abaras Marianna"~"~~ ~169ąśćźżńłóęąśćź
ąśćźżńłóę
ąśćźżńłóę
ąśćźżńłóę
ąśćźżńłóę
ąśćźżńłóę
Screen display - below.

Code:

List1 =File.ReadList(File.DirRootExternal, "nazwiska.txt")

For i = 0 To List1.Size - 1
ListView1.AddSingleLine(List1.Get(i))
Next

Activity.AddView(ListView1, 0, 0, 100%x, 100%y)

Can anyone help?
 

Attachments

  • screen.png
    screen.png
    42.9 KB · Views: 259

ajk

Active Member
Licensed User
Longtime User
Thank You for fast response. I have changed encoding from ANSI to UTF-8 and chars are displayed properly.
 
Upvote 0
Top