Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Extended ASCII Codes, QM output incorrect
#1
How do I output _s correctly in below example?
ss contains Extended ASCII Code (see https://www.asciitable.com)

I looked in settings and QM is running in unicode.

Macro Macro29
 
Code:
Copy      Help
str ss="▓▓" ;; https://www.asciitable.com/ -> 2 x 178
out ss ;; correct output
_s.left(ss 1)
;; _s.ConvertEncoding(? ?)  --->   65001    utf-8    Unicode (UTF-8)   <---- https://learn.microsoft.com/en-us/windows/win32/intl/code-page-identifiers edit: _unicode is same as 65001
out _s ;; incorrect output


Messages In This Thread
Extended ASCII Codes, QM output incorrect - by r0n - 09-18-2023, 12:10 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)