From: Matthias T. <th...@ei...> - 2002-08-09 12:00:40
|
Hello Haejoong, Matthias Thomae wrote: > I think the problem is on the 'other side', when *building* annotation > graphs and storing them in AIF format via the "toXML" function. It is > not possible to set the encoding of the input strings, as far as I have > seen. I seem to have a kind of solution or workaround for this problem, at least for the Tcl API: set outXmlFile [open "agset.xml" "w"] fconfigure $outXmlFile -encoding "utf-8" puts $outXmlFile [AG::toXML $agsetName] close $outXmlFile This stores the XML Document as UTF-8. As the load function of the AG library assumes UTF-8 encoding by default, loading and storing now takes the same encoding and my error message disappears. Regards. Matthias |