SublimeTail icon indicating copy to clipboard operation
SublimeTail copied to clipboard

[Fixed] Non-ASCII symbols not supported

Open Kristinita opened this issue 9 years ago • 1 comments

(I'm sorry, you not have issue tracker, so I write here.)

1. Summary

SublimeTail gives Mojibake, if I have Cyrillic symbols in my log.

2. Expected behavior

Correct displaying Cyrillic symbols.

3. Actual behavior

Actual

4. Steps to reproduce

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

I install SublimeTail from devel tree → I restart Sublime Text → I create file test.md in UTF-8 encoding → Ctrl+Shift+PTail: Tail File In New View → I print in test.md

Sasha
Великомученица!

In tab Tail: test.md I see

Sasha
Великомученица!

5. Example in other apps

I have similar problem in other Sublime Text packages:

Developer of Code Presenter fixed similar bug.

6. Environment

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

Thanks.

Kristinita avatar Nov 30 '16 11:11 Kristinita

@vifo , I fix it, I add encoding='utf-8'. Please, review this pull request.

Thanks.

Kristinita avatar Mar 27 '17 09:03 Kristinita