there are a lot of YAML modules on CPAN. actually if you just want to read/write simple YAML for your internal application, you don't even need a module (simple Perl IO will do fine).
in general, if the YAML module is pure-Perl, it works fine with UTF-8.
but, YAML::Syck is a PerlXS, meaning it wraps a C-language library, libsyck. and libsyck is not UTF-8 aware. Therein lies the problem.
why use libsyck? because it's 20X faster than a pure-Perl implementation.
On 1/20/06, moogs <[EMAIL PROTECTED]> wrote:
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?
_________________________________________________ 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

