Modify

Ticket #124 (new defect)

Opened 5 years ago

Last modified 44 years ago

setting allow_unicode

Reported by: viz.pub@… Owned by: 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

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as new
as The resolution will be set. Next status will be 'closed'
to The owner will be changed from xi. Next status will be 'new'
The owner will be changed from xi to anonymous. Next status will be 'assigned'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.