
3 Aug
2009
3 Aug
'09
4:38 p.m.
+++ John MacFarlane [Aug 03 09 13:23 ]:
+++ Michael Snoyman [Aug 03 09 22:20 ]:
Hey John,
I noticed that your code is using the Syck library for Yaml. How were you able to get it to deal with Unicode characters? I just wrote a new yaml library based on libyaml if you want to give it a shot (yaml on hackage). It doesn't support aliases, but is otherwise feature complete.
Michael
Oh, rats, I hadn't realized that Syck had that limitation! I think I can work around it, but I'll have to look into it.
Okay, I've found a workaround -- use Syck to parse a bytestring, then do my own decoding on string buffers in the resulting parse tree. Unicode in data files now works well. (Code now on github -- will be released soon.) John