You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you run UTF-8 code without a repository, it will be saved at ClearML Server with wrong UTF-8 characters. The issue is caused by the default encoding of the open() function. The open() function uses the encoding returned by the locale.getencoding() since 3.11 and locale.getpreferredencoding() before 3.11.
Both of these functions return ANSI or LC_CTYPE encoding, but not UTF-8. Reading UTF-8 characters with ANSI or any other encoding results in wrong representation of UTF-8 characters. In some cases it may also cause the charmap exception and no script code will be saved at all.
See #443 for the linked issue.
Describe the bug
If you run UTF-8 code without a repository, it will be saved at ClearML Server with wrong UTF-8 characters. The issue is caused by the default encoding of the open() function. The open() function uses the encoding returned by the locale.getencoding() since 3.11 and locale.getpreferredencoding() before 3.11.
Both of these functions return ANSI or LC_CTYPE encoding, but not UTF-8. Reading UTF-8 characters with ANSI or any other encoding results in wrong representation of UTF-8 characters. In some cases it may also cause the charmap exception and no script code will be saved at all.
See #443 for the linked issue.
To reproduce
Expected behaviour
The correct UTF-8 characters should be displayed in the UNCOMMITTED CHANGES
Environment
Windows
The text was updated successfully, but these errors were encountered: