On Fri, 1 Sep 2006 00:57:32 +0300 Nerijus Baliunas <[EMAIL PROTECTED]> wrote:
NB> On Thu, 31 Aug 2006 23:36:31 +0200, Thu, 31 Aug 2006 23:33:08 +0200 Vadim Zeitlin <[EMAIL PROTECTED]> wrote: NB> NB> VZ> NB> I cannot use UTF-8, or I should have UTF-8 in M source code I assume, as I get NB> VZ> NB> "Invalid UTF-8 string in wxConvertToGTK()", NB> VZ> NB> VZ> For which input do you get this? Of course, when you use UTF-8 the input NB> VZ> must be a well-formed UTF-8 string. To do this "safely" (i.e. so that no NB> VZ> editor mangles it) you should use hex escapes in the code, e.g. "\xc0\x.." NB> VZ> instead of using UTF-8 directly. NB> NB> OK, done. And input is Karsten's and my surnames. NB> I used recode HTML_4.0..JAVA wxMSplash.cpp to recode file to current state. Sorry, no, this is still not right: why did you use Unicode escape (\u) instead of normal one (\x or \o if you prefer octal)? I have no idea how is this (using Unicode escapes in a "char *" string) is even supposed to compile, as the type of \uxxxx is "wchar_t" and not "char". What's wrong with using normal chars? Thanks, VZ ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Mahogany-Developers mailing list Mahogany-Developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mahogany-developers