#166 Uncorrect loading UTF-8 encoded table files

v2.1.0
open
nobody
utf-8 (1)
1
2013-07-29
2013-07-29
No

Step to reproduce bug:
1. Create table with non-latin (russian) text in cells.
2. Save it to .txt file.
3. Load this file.

Results of saving:
1. Text in table .txt file correctly saved in UTF-8.

Results of loading:
1. Lots exceptions (attached).
2. Messages on terminal:
/var/tmp/portage/x11-libs/wxGTK-2.9.4.1/work/wxPython-src-2.9.4.0/src/common/unichar.cpp(53): assert "Assert failure" failed in FromHi8bit(): invalid multibyte character
3. Cells with some mismath instead original text.

System: Gentoo Linux with LANG=ru_RU.UTF-8.
Version of Saga: current svn trunk (r1769).

I will attach my workaround in comment, it's ugly, but works for me.

1 Attachments

Discussion

  • Alexander Turenko

    Workaround.

     
  • Alexander Turenko

    And very similar workaround for loading .dbf table files.

     


Anonymous

Cancel  Add attachments





Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks