Angus Leeming schrieb:
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("UTF-8
Angus Leeming wrote:
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.
Oh
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("UTF-8", "UCS-4-INTERNAL", in);
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("UTF-8", "UCS-4-INTERNAL", in);
| > No such encoding. "UCS-
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("UTF-8", "UCS-4-INTERNAL", in);
No such encoding. "UCS-4" is supposed to do just that, use the default
endianess on th
Angus Leeming <[EMAIL PROTECTED]> writes:
| Sorry, don't follow.
Ahh so you created one more.
| std::vector
| ucs4_to_utf8(std::vector const & ucs4str)
| {
| // ucs4str has a machine-specific byte order, but that
| // doesn't actually matter because *we* generated it in
| // th
Lars Gullik Bjønnes wrote:
Angus Leeming <[EMAIL PROTECTED]> writes:
| In fact, when I look at your code, why don't you make iconv_convert a
| template and return a vector of the correct type directly. All that's
| needed is a change to the last couple of lines of iconv_convert where
| you fill
Angus Leeming <[EMAIL PROTECTED]> writes:
| In fact, when I look at your code, why don't you make iconv_convert a
| template and return a vector of the correct type directly. All that's
| needed is a change to the last couple of lines of iconv_convert where
| you fill outvec:
|
| int const
Angus Leeming wrote:
Lars Gullik Bjønnes wrote:
Angus Leeming <[EMAIL PROTECTED]> writes:
| Bennett Helm wrote:
| > Now that unicode is in, I notice that whatever I type on Mac comes
| > out in Chinese characters, no matter what the display font setting
| > in preferences. Any idea what's going
Lars Gullik Bjønnes wrote:
Angus Leeming <[EMAIL PROTECTED]> writes:
| Bennett Helm wrote:
| > Now that unicode is in, I notice that whatever I type on Mac comes
| > out in Chinese characters, no matter what the display font setting
| > in preferences. Any idea what's going wrong?
|
| This is p
Angus Leeming <[EMAIL PROTECTED]> writes:
| Bennett Helm wrote:
| > Now that unicode is in, I notice that whatever I type on Mac comes
| > out in Chinese characters, no matter what the display font setting
| > in preferences. Any idea what's going wrong?
|
| This is probably another manifestation
Bennett Helm wrote:
Now that unicode is in, I notice that whatever I type on Mac comes out
in Chinese characters, no matter what the display font setting in
preferences. Any idea what's going wrong?
This is probably another manifestation of the problems that Abdel's been
having on Windows. Th
12 matches
Mail list logo