Emitting UTF-8 Strings

Aaron Patterson <aaron-nCDmOI4KsdrYeBQzxHgb1laTQe2KTcn/@public.gmane.org>
Newsgroups gmane.text.yaml.general
Message-ID <[email protected]>
Hello!

I am attempting to use libyaml to emit UTF-8 strings.  I expect this
program:

  http://gist.github.com/269982

To output the following YAML document:

--- 日本語
...

But instead it outputs this document:

--- ! "\u65E5\u672C\u8A9E"
...

I'm using version 0.1.3.  I can't tell if this is an error on my part,
or if this is expected behavior.  I realize both documents represent the
same data, but the behavior I'm seeing isn't really desirable.

Thanks for the help!

-- 
Aaron Patterson
http://tenderlovemaking.com/

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Yaml-core mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/yaml-core
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.