chris wrote:you can choose from newlib's iconv(), iconv.library/libiconv, codesets.library and/or parserutils.library (and I think there's a utf8.library floating around somewhere too)
iconv_open(const char *tocode, const char *fromcode);iconv_open("iso-8859-2", "utf-8");trixie wrote:All right, iconv() would probably be the best for what I need - newlib.library is part of the AOS kernel now, is that right? So I won't have to rely on the user having a third-party library installed.
I found an example for iconv(), and see that before you use it, you have to
- Code: Select all
iconv_open(const char *tocode, const char *fromcode);
Where do I get the "tocode" and "fromcode" codeset names, are they the same as those used by the locale.library? Can I do something like this?
- Code: Select all
iconv_open("iso-8859-2", "utf-8");
@Trixie, I hope your own sam is recoverable somehow
trixie wrote:@Belxjander@Trixie, I hope your own sam is recoverable somehow
My Sam is probably dead as a dodo but thanks to Steven Solie I got access to an affordable replacement so I'm now fully setup and developing again!
Return to General Developer Support
Users browsing this forum: No registered users and 1 guest