[Q] allow_unicode option in RbYAML and JvYAML (Re: [Q] PyYAML: encoding option of yaml.dump())
"Makoto Kuwata" <[email protected]>
| Newsgroups | gmane.text.yaml.general |
|---|---|
| Message-ID | <[email protected]> |
On Dec 26, 2007 10:50 PM, Kirill Simonov <[email protected]> wrote: > > By default, PyYAML does not emit non-ASCII characters unescaped. You > need to set the flag allow_unicode to print Japanese characters: > > print yaml.dump(data, default_flow_style=False, allow_unicode=True) > Thank you, Kirill. This is the solution what I want. Another questions: 'allow_unicode' option seems not to be avaialbe in RbYAML nor JvYAML. Is there any plan to be avaialable allow_unicode option in RbYAML and JvYAML? This is an important thing to non-ascii language speakers. -- makoto kuwata ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/