Bug #87520 Could not restore workspace if file names or paths contains non-Latin characters
Submitted: 24 Aug 2017 2:18 Modified: 29 Mar 2019 0:58
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), 8.0.25 OS: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] MySQL Verification Team
Hello Сергей Агарков,

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

Thanks,
Umesh
[24 Aug 2017 6:44] MySQL Verification Team
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 2019 23:01] Сергей Агарков
8.0.2CE - same problem. What the heck?
[18 Mar 2019 23:07] Сергей Агарков
8.0.2CE - no cyrillics

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

[29 Mar 2019 0:56] Сергей Агарков
8.0.15CE - no cyrillics

Attachment: 8-0-15-no-Cyr.png (image/png, text), 12.45 KiB.

[29 Mar 2019 0:58] Сергей Агарков
As was suggested at https://stackoverflow.com/questions/55231575/mysql-workbench-unicode-hell-under-windowsr tried 8.0.15. No luck.
[23 Jul 2021 13:10] MySQL Verification Team
Bug #104389 marked as duplicate of this one.
[26 Jul 2022 11:24] MySQL Verification Team
Bug #107950 marked as duplicate of this one.