Sub Activity_Create(FirstTime As Boolean)
Activity.LoadLayout("Layout1")
Label1.Text = File.ReadString(File.DirAssets,"N.txt")
Label1.Text.GetBytes("UTF8")
End Sub
My text is in Persian but it doesn't work properly. What should I do?
You need to find the current encoding before you can do anything. Notepad++ can help you.
The next step is to either change the file encoding with Notepad++ or use TextReader which allows setting the encoding.
You need to find the current encoding before you can do anything. Notepad++ can help you.
The next step is to either change the file encoding with Notepad++ or use TextReader which allows setting the encoding.