mt5225 / scxmlgui

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

Some UTF-8 chars saved incorrectly into the file #39

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. create node 
2. define datamodel  for this node with cyrillic chars: <name>старт</name> 
(corresponds to `start`)
3. save scxml into a file
4. try to reopen it

What is the expected output?
the stored scxml model

What do you see instead?
Error: MalformedByteSequenceException: Invalid byte 2 of 2-byte UTF-8 sequence.

If I open the file with text editor that supports UTF-8? 
I can see: `?тарт` instead of `старт`

The latest version on windowsXP

Please provide any additional information below.

Original issue reported on code.google.com by daggett....@gmail.com on 5 Oct 2012 at 8:57

GoogleCodeExporter commented 9 years ago

Original comment by fmorbini on 5 Oct 2012 at 4:48

GoogleCodeExporter commented 9 years ago
should be fixed in r144

Original comment by fmorbini on 5 Oct 2012 at 9:51