So all I have to do is replace char* StringMgr::upperUTF8(char* t, const unsigned int maxlen)?

If so, then what is maxlen for? Is it expecting t to be overwritten or just a maximum buffer allocated? I assume that sword will dealloc any buffer I return.

thanks -Will

On 25 Nov 2004, at 7:42 am, Martin Gruner wrote:

Also is anyone working on utf-8 locale support, I would like to be able
to just use utf8 locales and support languages like chinese. What needs
doing to support this?

Hi Will,

this is fairly simple, but works with cvs only. You need to override the
StringMgr class to work with UTF8 (use your mac functions to handle it), and
make your updated StringMgr return StringMgr::supportsUnicode==true. Then
LocaleMgr will only load UTF8 and Latin1 locales.


We use it in BibleTime and it works just fine. Now all locales actually work!

mg
_______________________________________________
sword-devel mailing list
[EMAIL PROTECTED]
http://www.crosswire.org/mailman/listinfo/sword-devel


_______________________________________________ sword-devel mailing list [EMAIL PROTECTED] http://www.crosswire.org/mailman/listinfo/sword-devel

Reply via email to