On Saturday 30 September 2006 10:54, Leendert Meyer wrote:
On Saturday 30 September 2006 19:29, Jan Engelhardt wrote:
I copied the characters into a text file (kate), saved it as a utf-16 file, opened it with Midnight Commander (mc) using 'View' (F3), and I could discover the 16-bit unicode numbers.
Midnight Commander does not support UTF-16. So it's all UTF-8, including Kate.
I was viewing in HEX mode. That's not utf-16 nor utf-8. :P
That's not really a meaningful statement. UTF-8 and UTF-16 are ways of encoding Unicode codepoint values in a data stream or file. You could take a file holding UTF-16 (or -8) -encoded text and view it as binary or octal or decimal or hexadecimal octets, or as 16-bit numbers, likewise of any numeric radix of your choosing, and it would still be UTF-16 (or -8) -encoded Unicode text you were viewing.
Leen
Randall Schulz