Hey Andrii, 2009/4/7 Andrii Arsirii <[email protected]>: > For some unknown reason Wt(2.1.5) produces translated strings with starting > and trailing garbage (newlines and whitespaces). > Dumping such strings shows > > 10 32 32 32 <Normal string> 10 32 32 32 > > or similar output (I don't remember). > > Strings of such kind are misinterpreted by firefox when used in title. > In all the rest situations - they are not observed as bad in HTML (in my > setup). > > Attached patch works around this problem, but I guess the real problem is in > mxml... > I'm not sure, maybe my input is outdated (I see 2.99 available), but I just > wanted to make you know about it just in case...
I tried it with latest git version, and could not find anything wrong along these lines. I also tried to use WString::tr() with setTitle() and firefox and that works fine. I think it might have been a problem in older versions of Wt only, or perhaps you are not using the mxml library that is included in Wt but another version of mxml ? Regards, koen ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ witty-interest mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/witty-interest
