This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Cygwin util replacing win-util for UCS-2 -> UTF-8; utf8 support (redux)
Brian Dessent wrote:
Yuck. Why don't you just use iconv instead?
Cuz, I thought it was only a library? :-?
Cuz I already know windows starts in UCS-2 and know the codepage
for UTF-8 (65001). With iconv, I don't know off the top of my head
where to look for what document that specifies the strings to use
for input and output. Output is likely utf-8 or utf8, but it might
require uppercase. I don't think UCS-2 is a unicode input charset,
so I'd have to semi-lie to iconv and tell it utf16, but that's no
worse than the windows method, where the "lie" is implicit.
But thanks for the new pointer... something else to learn & use...
linda
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/