Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I type any Unicode character into sublime text?

Apparently, all of these are valid javascript characters and I want to start using them as var names, but how do I type them into my text editor?

I tried googling a unicode and how to type in unicode characters to no avail.

like image 301
sherlock Avatar asked Jun 26 '13 15:06

sherlock


People also ask

How do I type a specific Unicode character?

Inserting Unicode characters To insert a Unicode character, type the character code, press ALT, and then press X. For example, to type a dollar symbol ($), type 0024, press ALT, and then press X.

How do I get special characters in sublime?

Is there a way to tell Sublime Text to display all Characters? In Notepad++, clicking View > Show Symbol > Show All Characters produces the following: Spaces are materialized with dots. TABs are materialized with right arrows.

How do I type Unicode characters in HTML?

You can enter any Unicode character in an HTML file by taking its decimal numeric character reference and adding an ampersand and a hash at the front and a semi-colon at the end, for example — should display as an em dash (—). This is the method used in the Unicode test pages.

Which characters are Unicode?

Unicode covers all the characters for all the writing systems of the world, modern and ancient. It also includes technical symbols, punctuations, and many other characters used in writing text.


1 Answers

Many of the characters listed in the cited page are in Plane 1, i.e. outside the Basic Multilingual Plane (BMP), informally characterized as “16-bit subset of Unicode”. According to the ECMAScript standard, an implementation may support characters outside the BMP, but it need not. In fact, it only requires support to characters that were defined in Unicode version 3.0. Other characters may be used, but they may cause portability issues. In practice, modern JavaScript implementations support full Unicode.

How you type characters depends on your text editor and on other software. There are, for example, utilities that let you enter characters with some special key combinations, either directly inserting them into the current point of insertion or adding them to the clipboard.

As far as I know, the only tool that lets you type any Unicode character is my full Unicode input utility. Your editor might have a more integrated tool, but most text editors are rather primitive in Unicode input. Check out Alan Wood’s page Unicode and Multilingual Editors and Word Processors.

like image 127
Jukka K. Korpela Avatar answered Oct 03 '22 13:10

Jukka K. Korpela