Orlando Andico wrote: >....
a completely "dumb" implementation would be, if the sequence \xDD is seen, replace it with chr(hex(DD)). doesn't appeal to my sense of elegance though.
i made a simple perl script that loads yaml data (with "繁體中文" bit and some japanese words too), print the parsed, converts it back to yaml and writes that file. all of the output was proper utf-8.
what part does YAML::Syck begin returning escaped utf-8? can you post/point to a source that can replicate the bug so we can test it?
(right now, i don't use YAML, or for that matter perl, but I deal with multi-byte data a lot and solving this now might save me from a headache in the future )
moogs _________________________________________________ Philippine Linux Users' Group (PLUG) Mailing List [email protected] (#PLUG @ irc.free.net.ph) Read the Guidelines: http://linux.org.ph/lists Searchable Archives: http://archives.free.net.ph

