Sublime Text 3 is not showing Unicode characters correctly under Ubuntu 13.10

前端 未结 3 1696
悲&欢浪女
悲&欢浪女 2021-01-01 13:08

In Sublime Text 3, unicode characters are not shown correctly. In gedit it works fine. I tried saving the document as UTF-8, Tried setting default encoding to UTF-8 but stil

相关标签:
3条回答
  • 2021-01-01 13:47

    Go to Preferences > Settings > User.

    Add this setting:

    "default_encoding" : "utf-8",
    
    0 讨论(0)
  • 2021-01-01 14:02

    Sublime doesn't support Complex Text Layout at all I'm afraid. That means you don't even get proper Arabic or Hebrew, let alone Sinhala.

    Hopefully this will be added some day but it's not a straightforward feature. As Sublime is focused on code rather than natural language it might not be amongst the author's priorities.

    0 讨论(0)
  • 2021-01-01 14:04

    Sublime Text 3 should support many utf-8 locales now.

    If Xuwei Khan's answer doesn't work for you, then use this command:

    iconv -f Windows-1253 -t utf-8 input.txt > output.txt
    

    Or replace Windows-1253 with an an other iso locale suitable for your language needs.

    0 讨论(0)
提交回复
热议问题