Sublime Forum

Foreign language encoding

#1

Can Sublime encode foreign languages into the appropriate html? for instance this romanian phrase Nu am fost îmbrăcat is translated to Nu am fost îmbrăcat so it displays in browsers properly.
We were doing this with e text editor but after a new install it isn’t working correctly and we are looking for a replacement.
thanks in advance for any help

0 Likes

#2

Better this Character usage
But if you insists: HTML Entity Plugin

0 Likes

#3

thanks for the response but I’m new to Sublime and don’t understand. I would like to be able to paste the foreign phrase into sublime and have it generate the encoded text
For instance this romanian phrase Nu am fost îmbrăcat becomes Nu am fost îmbrăcat
Is this possible? I couldn’t find the Hasher package you mentioned. Is there a help file that explains this?
thanks

0 Likes

#4

install package control wbond.net/sublime_packages/package_control
Restart, then go to : Menu -> Preferences -> Package Control -> Install Package
Type: Hasher
Press enter
Package installed!
Now just paste “Nu am fost îmbrăcat”
Select this text
Press CTRl+SHIFT+P
Type “hash en enc”
Enter!
Text in Romanian (called in a wrong way as foreign) is now encoded.

0 Likes

#5

Tito, thank you for the information.
I installed the package and get through the hash en enc command but the text in the window does not change. The hasher commands are there and whether I type in hash en enc or click on the selection there is no change. Do I need something else?
thanks much for your help

0 Likes

#6

got it working just like Tito said, great instructions thanks again

0 Likes