At 20:50 19.03.01 +0100, Cyrille Chepelov wrote:
>Oh, (sorry, I sorely lacked time to report this) ; when exporting files with
>ISO8859-1 characters (such as éèàâê) (\'e\`e\'a\^a\^e in latexish) into WMF,
>it looks like something in the process converts stuff into UTF8, but doesn't
>do it all the way: in the final printout, you see two characters for each
>original accented character (ie, you get éèà âê for the previous
>string).
The "something" which converts to UTF8 is apparently libxml. I've changed
the wmf plug-in to use g_utf8_to_utf16 () and TextOutW, which finally does
the trick.
But: was it an active design decision to use UTF8 or is it an accident ?
If the first one is true all the plug-ins need to be converted and possibly
some other internal strings (i.e. UML_STEREOTYPE_START)
Another issue:
open "diagram properties"; close diagram; click ok on properties -> oops!
(it works/crashes for object properties as well as for the print dialog
etc. ...)
the first one can easily be resolved, but the latter appears to be by
design :( (there should probably be a DON'T DO IT somewhere in the docs and
proper reference counting on all Dia objects sometime in the future)
Hans
-------- Hans "at" Breuer "dot" Org -----------
Tell me what you need, and I'll tell you how to
get along without it. -- Dilbert