hansvand / winff

Automatically exported from code.google.com/p/winff
0 stars 0 forks source link

Failing support for non-ascii preset labels and category #180

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Edit -> Presets
2. Create a new preset with æ in the Preset Label and in the Category (window 
displays correctly.
3. Hit "Add / Update" and then Save
4. Find your preset back under the Category you just created, with the æ 
replaced by "??" and with a label with æ replaced by "??". 

What is the expected output? What do you see instead?
As the preset xml has utf-8 encoding and winff can be translated into any 
language, I expect the presets to also be translated. The choice for preset 
names to only contain ascii letters and digits is acceptable, although much to 
strict.

According to [1]: The element tags are case-sensitive; the beginning and end 
tags must match exactly. Tag names cannot contain any of the characters 
!"#$%&'()*+,/;<=>?@[\]^`{|}~, nor a space character, and cannot start with -, 
., or a numeric digit.

[1] http://en.wikipedia.org/wiki/Xml#Well-formedness_and_error-handling

Original issue reported on code.google.com by poipodec...@hotmail.com on 1 Dec 2012 at 6:48

GoogleCodeExporter commented 8 years ago
As I understand it, we agreed to do a major overhaul of the presets file, so 
this should be in scope for 1.6.

Original comment by poipodec...@hotmail.com on 16 Dec 2012 at 5:14