Bug #87520 Could not restore workspace if file names or paths contains non-Latin characters
Submitted: 24 Aug 2017 2:18 Modified: 18 Mar 23:01
Reporter: Сергей Агарков Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Workbench: SQL Editor Severity:S1 (Critical)
Version:6.3.9 build 10690321 CE (64 bits) OS:Microsoft Windows (win10 / 1809)
Assigned to: CPU Architecture:Any (ia64)

[24 Aug 2017 2:18] Сергей Агарков
Description:
If opened script's path (either directories either filename) contains non-Latin character, the entire pathname in the corresponding {UUID}.info file is truncated to last Latin character.

How to repeat:
I copied the file with Cyrillic name to "pure-latin" folder, then made several copies with different names.

dirname: c:\users\sysop\documents\sqtest

original name: проверка.sql (all chars left to ".sql" are Cyrillic)
1st copy: test.sql (all chars are Latin)
2nd copy: teжst.sql (one char between "te" and "st" is Russian letter "zh")

Autosaved {UUID}.info contents:

1.
type=file
filename=C:\Users\sysop\Documents\sqtest

2.
type=file
filename=C:\Users\sysop\Documents\sqtest\test.sql
orig_encoding=
title=test
show_special=0
word_wrap=0
caret_pos=0
first_visible_line=0

3.
type=file
filename=C:\Users\sysop\Documents\sqtest\te

All starting 1st non-Latin character was truncated and the workspace is irrecoverable

Suggested fix:
Check the "unicodeness"?
[24 Aug 2017 2:45] Сергей Агарков
Removed 6.3.9, installed 6.2.5: bug is gone, all paths stored correctly.
[24 Aug 2017 6:43] Umesh Shastry
Hello Сергей Агарков,

Thank you for the report and feedback.
Observed this with WB 6.3.9 on Win7.

Thanks,
Umesh
[24 Aug 2017 6:44] Umesh Shastry
Screenshot..

Attachment: 87520.png (image/png, text), 68.82 KiB.

[21 Jan 2018 23:16] Сергей Агарков
Same problems with 6.3.10 build 12092614CE on Microsoft Windows [Version 10.0.16299.192] (1709)
[18 Mar 23:01] Сергей Агарков
8.0.2CE - same problem. What the heck?
[18 Mar 23:07] Сергей Агарков
8.0.2CE - no cyrillics

Attachment: hieroglyphs instead of Cyrillics.PNG (image/png, text), 7.72 KiB.