P park jae hyun Member Licensed User Longtime User Feb 26, 2014 #1 Hello Language = Korean When you load a text file edittext1.Text = File.ReadString (File.DirAssets, "test.txt") ⧫ ⧫ ⧫ hello ⧫ ⧫ ⧫ ⧫ ...... Appear. English is well displayed. Korean has broken out. Help me ...
Hello Language = Korean When you load a text file edittext1.Text = File.ReadString (File.DirAssets, "test.txt") ⧫ ⧫ ⧫ hello ⧫ ⧫ ⧫ ⧫ ...... Appear. English is well displayed. Korean has broken out. Help me ...
Erel B4X founder Staff member Licensed User Longtime User Feb 27, 2014 #2 Can you upload the text file (as an attachment)? Upvote 0
P park jae hyun Member Licensed User Longtime User Feb 27, 2014 #3 Erel said: Can you upload the text file (as an attachment)? Click to expand... File upload complete Please check in Attachments test.zip 403.4 KB · Views: 111 Upvote 0
Erel said: Can you upload the text file (as an attachment)? Click to expand... File upload complete Please check in
Erel B4X founder Staff member Licensed User Longtime User Feb 27, 2014 #4 Your file is not encoded in UTF8. Using Notepad++ I see that it is encoded in Windows 949. You can use this code: B4X: Dim tr As TextReader tr.Initialize2(File.OpenInput(File.DirAssets, "test.txt"), "Windows949") Log(tr.ReadAll) tr.Close Upvote 0
Your file is not encoded in UTF8. Using Notepad++ I see that it is encoded in Windows 949. You can use this code: B4X: Dim tr As TextReader tr.Initialize2(File.OpenInput(File.DirAssets, "test.txt"), "Windows949") Log(tr.ReadAll) tr.Close
P park jae hyun Member Licensed User Longtime User Feb 27, 2014 #5 Erel said: Your file is not encoded in UTF8. Using Notepad++ I see that it is encoded in Windows 949. You can use this code: B4X: Dim tr As TextReader tr.Initialize2(File.OpenInput(File.DirAssets, "test.txt"), "Windows949") Log(tr.ReadAll) tr.Close Click to expand... Thank you very much. Thank you very much. Thank you very much. Upvote 0
Erel said: Your file is not encoded in UTF8. Using Notepad++ I see that it is encoded in Windows 949. You can use this code: B4X: Dim tr As TextReader tr.Initialize2(File.OpenInput(File.DirAssets, "test.txt"), "Windows949") Log(tr.ReadAll) tr.Close Click to expand... Thank you very much. Thank you very much. Thank you very much.