Lars Gullik Bjønnes wrote:
Angus Leeming <[EMAIL PROTECTED]> writes:
| Lars Gullik Bjønnes wrote:
| > Angus Leeming writes:
| > | Sorry, don't follow.
| > Ahh so you created one more.
|
| ;-) It wasn't exactly rocket science though.
|
| > | return iconv_convert<char>("UTF-8", "UCS-4-INTERNAL", in);
| > No such encoding. "UCS-4" is supposed to do just that, use the default
| > endianess on the box.
|
| Maybe. But http://www.gnu.org/software/libiconv/ *does* talk about
| UCS-4-INTERNAL, so I'm a little suprised.
That is a web-site... 'iconv --list' should be more accurate.
googling on UCS-4-INTERNAL pulls up this:
http://www.opensource.apple.com/darwinsource/Current/libiconv-13/libiconv/lib/ucs4internal.h
It really does look like iconv will do the whole shmooze for you. No
need for any LyX-side magic with memcpy or unions or the like.
Angus