On 1/20/06, moogs <[EMAIL PROTECTED]> wrote:
Orlando Andico wrote:
> 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.

Yup, you mentioned that you did use YAML::Syck, so I installed YAML::Syck, via
perl -MCPAN -e 'install YAML::Syck'. To confirm, is the module you are referring
to in http://search.cpan.org/dist/YAML-Syck/ ?

Yes it is. The wide-character mangling is caused by libsyck, not by YAML::Syck per se.
I don't see a way around it unless you use the plain YAML module. If your application is not that performance-intensive, YAML will do. Actually for my project it will do, but I would have liked the extra speed..


_________________________________________________
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

Reply via email to