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.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.