Re: UTF-8 in OGRE
Raymond Martin <[email protected]> Sat, 25 Feb 2006 00:14:33 +0000
| Newsgroups | gmane.lisp.lush.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Leon, On Friday 24 February 2006 21:05, Leon Bottou wrote: > On Friday 24 February 2006 03:27 pm, Raymond Martin wrote: > > Alright! I can use multiple languages now in a text pane (i.e. English, French, and Japanese). > > I have noticed a problem, the cursor is not aligned with the character. > > It seems to be set to the byte offset of a character in the string and not > > the printed character location in the visible text. > That won't work until the string.c functions (left,right,mid,asc,chr,etc.) > are fixed for multibyte using function mbrtowc, wcrtomb and mbrlen. > All changes have to be dependent on macro HAVE_MBRTOWC (see string.c). > If you want to give it a try... > Okay, I am going to try to get some of these functions in, if you don't beat me to it ;) You did the other fixes quite quickly. Kudos! > Useful documentation: > http://www.gnu.org/software/libc/manual/html_node/Character-Set-Handling.html > http://www.gnu.org/software/libc/manual/html_node/Classification-of-Wide-Characters.html > http://www.gnu.org/software/libc/manual/html_node/Wide-Character-Case-Conversion.html > > > Regexps might be tough to change. > > > Another issue I am having is not being able to set the > > font for the window title as displayed by the window manager. > That is now fixed. It surely never worked before. Good stuff. Thanks. Raymond __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642