Re: [m17n] convert UTF-8 to \uXXXX
You should be able to perform this with 'recode'. Can't remember the command line sequence (been a while), but the man pages should specify the correct HTML/XML identifiers. Cheers Steve.
Rowdy Rednose
09/07/04 11:19 am >>> Hi,
which tool can convert chars, that are not in the ascii set, from in UTF-8 to XXXX; or \uXXXX as used in HTML/XML? Can iconv do that? (I want to encode complete files, not single characters) Thanks in advance, Rowdy -- To unsubscribe, e-mail: m17n-unsubscribe@suse.com For additional commands, e-mail: m17n-help@suse.com
"Stephen Holmes"
You should be able to perform this with 'recode'.
Can't remember the command line sequence (been a while), but the man pages should specify the correct HTML/XML identifiers. Cheers Steve.
mfabian@magellan:~$ echo aöbc漢字def | recode utf8..h4 aöbc漢字def mfabian@magellan:~$
Rowdy Rednose
09/07/04 11:19 am >>> Hi, which tool can convert chars, that are not in the ascii set, from in UTF-8 to XXXX; or \uXXXX as used in HTML/XML? Can iconv do that? (I want to encode complete files, not single characters)
Thanks in advance, Rowdy
--
Mike FABIAN
participants (3)
-
Mike FABIAN
-
Rowdy Rednose
-
Stephen Holmes