Sublime Forum

How to normalize text encoding in Sublime

#1

Sometimes, when I copy text into sublime, like the following:
“Sumer and Akkadian Empire”

And I get the following encoding issue in sublime:

As you can see at the bottom right, the encoding is set to utf-8. In an other editor, Atom, with the exact string and encoding, this does not occur.

Can anyone explain a newbie like me why this happens, and what to do about it?

0 Likes

#2

That doesn’t look encoding related - all the characters are there and correctly encoded. What are you copying this text from?

0 Likes

#3

Your text contains an unprintable character, Break Permitted Here (BPH) (U+0082). Since ST can’t display it, it shows you the hex code instead. This is expected behavior.

0 Likes