Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Unicode and ANSI problem
#1
Hello~! Gintaras~!

I have problem in STR I/O.

As below, I save some string which in unicode text but should save to ANSI format because B.exe can read only ANSI format.
This can be resolved by uncheck 'unicode' setting in QM but other functions have thounds of unicode text.
Any answer is welcomed.
Thank you in advance.

Macro Macro5
Code:
Copy      Help
str ss="UNICODE TEXT (KOREAN)"
ss.setfile("c:\A.TXT")
run("B.exe" "" "" "" 16|10000)
#2
Macro Macro2871
Code:
Copy      Help
str ss="UNICODE TEXT (KOREAN)"
ss.ConvertEncoding(-1 949) ;;949 probably is incorrect because there are 8 Korean code pages. Click the link in ConvertEncoding help.
ss.setfile("c:\A.TXT")
run("B.exe" "" "" "" 16|10000)
#3
Oh, Thank you Gintaras! I'll try that~!


Forum Jump:


Users browsing this thread: 1 Guest(s)