Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Non-ASCII symbols not supported #1

Closed
Kristinita opened this issue Nov 26, 2016 · 1 comment
Closed

[Bug] Non-ASCII symbols not supported #1

Kristinita opened this issue Nov 26, 2016 · 1 comment

Comments

@Kristinita
Copy link
Contributor

Kristinita commented Nov 26, 2016

1. Summary

If I select Cyrillic symbols and send it to sandbox, I have bugged.

2. Expected behavior

Not encoding problems.

3. Actual behavior

1. Without EditorConfig

After send to my test.md file I have fallback encoding and all my previous Cyrillic symbols in test.md convert to mojibake.

command: send_selection {}
reloading /E/Киролайна/test.md
unable to auto detect encoding for E:\Киролайна\test.md, using fallback encoding Cyrillic (Windows 1251)

For example,

Саша — Океан Любви!

convert to

Саша — Океан Любви!

2. With EditorConfig

If charset = utf-8 set in my .editorconfig file, selected Cyrillic symbols convert to mojibake.

4. My settings

My User\SendToSandbox.sublime-settings file:

{
   "file": "E:\\Киролайна\\test.md"
}

Part of my User\Preferences.sublime-settings file:

"fallback_encoding": "Cyrillic (Windows 1251)",

Part of my E:\Киролайна\.editorconfig file:

charset = utf-8

5. Steps to reproduce

The problem is reproduced for me in a version of Sublime Text without plugins and user settings.

I select this text in E:\Киролайна\Jernl\2016.jernl file:

Саша — Океан Любви!

Context_MenuSendToSandbox → I get actual behavior.

6. Environment

Operating system and version:
Windows 32-bit 10.0.14393
Sublime Text:
Build 3126

Thanks.

@Kristinita
Copy link
Contributor Author

@DavidGerva , I have similar problem in Code Presenter package, but now problem solved for me.

Thanks.

Kristinita pushed a commit to Kristinita/SendToSandbox-SublimePlugin that referenced this issue Mar 26, 2017
@Kristinita Kristinita mentioned this issue Mar 26, 2017
DavidGerva added a commit that referenced this issue Mar 29, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant