Ticket #124 (new defect)

Opened 1 year ago

setting allow_unicode

Reported by: viz.pub@gmail.com Assigned to: xi
Priority: normal Component: pyyaml
Severity: normal Keywords:
Cc:

Description

The theme of default escaping of Unicode chars on dumping has been discussed, e.g. here [1]. I understand the point you decided for the more conservative approach - escape by defaut. Still. The escaped files are uneditable by humans - the fact that completely kills the purpose of yaml. Any software that uses pyuaml generates such unusable files.

My proposal to minimize this pain: allow the allow_unicode flag to be settable also from "outside", e.g. environment variable, or any sort of global setting. Thus any software that uses pyyaml can be used without patching.

Please mention this unicode dumping problem also in the documentation.

[1] - http://sourceforge.net/mailarchive/forum.php?thread_name=4973e7450902090705qbebe220md3a2df43f1623eac%40mail.gmail.com&forum_name=yaml-core

Attachments


Add/Change #124 (setting allow_unicode)




Change Properties
Action