kastnermario / yaml-cpp

Automatically exported from code.google.com/p/yaml-cpp
MIT License
0 stars 0 forks source link

No widechar (i.e. no unicode) support #153

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
It is XXI century out there.
Why do you have no support for wide chars?
(wchar_t/unisgned short types)

Original issue reported on code.google.com by lost.gua...@gmail.com on 1 Mar 2012 at 3:36

GoogleCodeExporter commented 8 years ago
We do have unicode support, but we do not have wide character support.

The input can be encoded in UTF-8, UTF-16, or UTF-32, as per the YAML spec. 
Input is always in narrow characters.

The output is always encoded in UTF-8 with narrow characters. (yaml-cpp uses 
this internally.)

If you want differently encoded output, or input or output with wide 
characters, please use a unicode library to do the translation (e.g., ICU, 
http://site.icu-project.org/).

What you're asking amounts to including such a library in yaml-cpp. Sorry!

Original comment by jbe...@gmail.com on 1 Mar 2012 at 5:50