You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Unicode Consortium published a [general punctuation chart](http://www.unicode.org/charts/PDF/U2000.pdf) where you can find more details.
229
238
230
239
231
240
| Char | Name | Description |
@@ -241,20 +250,51 @@ There are also surrogate code points, private and unassigned codepoints, and con
241
250
|`';'`| U+037E GREEK QUESTION MARK | a look-alike to the semicolon. Also a fun way to annoy developers. |
242
251
|`''`| U+202D | change the text direction to Left-to-Right. |
243
252
|`''` | U+202E | change the text direction to Right-to-Left: |
244
-
|`ꓸ`| U+A4F8 LISU LETTER TONE MYA TI |A lookalike for the period character. |
245
-
|`ꓹ`| U+A4F9 LISU LETTER TONE NA PO |A lookalike for the comma character.|
246
-
|`ꓼ`| U+A4FC LISU LETTER TONE MYA NA |A lookalike for the semi-colon character.|
247
-
|`ꓽ`| U+A4FD LISU LETTER TONE MYA JEU|A lookalike for the colon character.|
253
+
|`'ꓸ'`| U+A4F8 LISU LETTER TONE MYA TI |A lookalike for the period character. |
254
+
|`'ꓹ'`| U+A4F9 LISU LETTER TONE NA PO |A lookalike for the comma character.|
255
+
|`'ꓼ'`| U+A4FC LISU LETTER TONE MYA NA |A lookalike for the semi-colon character.|
256
+
|`'ꓽ'`| U+A4FD LISU LETTER TONE MYA JEU|A lookalike for the colon character.|
248
257
| `'︀︁︂︃︄︅︆︇︈︉︊︋︌︍︎️󠄀󠄁󠄂󠄃󠄄󠄅󠄆󠄇󠄈󠄉󠄊󠄋󠄌󠄍󠄎󠄏󠄐󠄑󠄒󠄓󠄔󠄕󠄖󠄗󠄘󠄙󠄚󠄛󠄜󠄝󠄞󠄟󠄠󠄡󠄢󠄣󠄤󠄥󠄦󠄧󠄨󠄩󠄪󠄫󠄬󠄭󠄮󠄯󠄰󠄱󠄲󠄳󠄴󠄵󠄶󠄷󠄸󠄹󠄺󠄻󠄼󠄽󠄾󠄿󠅀󠅁󠅂󠅃󠅄󠅅󠅆󠅇󠅈󠅉󠅊󠅋󠅌󠅍󠅎󠅏󠅐󠅑󠅒󠅓󠅔󠅕󠅖󠅗󠅘󠅙󠅚󠅛󠅜󠅝󠅞󠅟󠅠󠅡󠅢󠅣󠅤󠅥󠅦󠅧󠅨󠅩󠅪󠅫󠅬󠅭󠅮󠅯󠅰󠅱󠅲󠅳󠅴󠅵󠅶󠅷󠅸󠅹󠅺󠅻󠅼󠅽󠅾󠅿󠆀󠆁󠆂󠆃󠆄󠆅󠆆󠆇󠆈󠆉󠆊󠆋󠆌󠆍󠆎󠆏󠆐󠆑󠆒󠆓󠆔󠆕󠆖󠆗󠆘󠆙󠆚󠆛󠆜󠆝󠆞󠆟󠆠󠆡󠆢󠆣󠆤󠆥󠆦󠆧󠆨󠆩󠆪󠆫󠆬󠆭󠆮󠆯󠆰󠆱󠆲󠆳󠆴󠆵󠆶󠆷󠆸󠆹󠆺󠆻󠆼󠆽󠆾󠆿󠇀󠇁󠇂󠇃󠇄󠇅󠇆󠇇󠇈󠇉󠇊󠇋󠇌󠇍󠇎󠇏󠇐󠇑󠇒󠇓󠇔󠇕󠇖󠇗󠇘󠇙󠇚󠇛󠇜󠇝󠇞󠇟󠇠󠇡󠇢󠇣󠇤󠇥󠇦󠇧󠇨󠇩󠇪󠇫󠇬󠇭󠇮󠇯'` | **Variation Selectors** ( U+FE00 to U+FE0F & U+E0100 to U+E01EF ) | a block of 256 zero width characters that posess the ID_Continue proprerty- meaning they can be used in variable names (not the first letter). What makes these special is the fact that mouse cursors pass over them as they are combining characters - unlike most other zero width characters.|
258
+
|`'ᅟ'`|**U+115F HANGUL CHOSEONG FILLER**| In general it produces a space. Rendered as zero width (invisible) if not explicitly supported in rendering. Designated ID_Start|
259
+
|`'ᅠ'`|**U+1160 HANGUL JUNGSEONG FILLER**| Perhaps it produces a space? Rendered as zero width (invisible) if not explicitly supported in rendering. Designated ID_Start|
260
+
|`'ㅤ'`|**U+3164 HANGUL FILLER**| In general it produces a space. Rendered as zero width (invisible) if not explicitly supported in rendering. Designated ID_Start |
261
+
<br><br>
262
+
#### Wait a second... what did I just read?
249
263
250
264
265
+
<br><br>
266
+
## Variable identifiers can effectively include whitespace!
251
267
252
-
The Unicode Consortium published a [general punctuation chart](http://www.unicode.org/charts/PDF/U2000.pdf) where you can find more details.
268
+
The **U+3164 HANGUL FILLER** character displays as an advancing whitespace character. The character is rendered as completely invisible (and non advancing, i.e. "zero width"), if not explicitly [supported in rendering](http://unicode.org/faq/unsup_char.html). That means the ugly character replacement (�) symbol should never be displayed. Interestingly, U+3164 was added to Unicode in version 1.1 (1993).
269
+
270
+
```javascript
271
+
>var ᅟ ='foo';
272
+
undefined
273
+
> ᅟ
274
+
'foo'
275
+
276
+
277
+
>var ㅤ= alert;
278
+
undefined
279
+
>var foo ='bar'
280
+
undefined
281
+
>if ( foo ===ㅤ`baz` ){} // alert
282
+
undefined
283
+
284
+
285
+
>varvarㅤfooㅤ\u{A60C}ㅤπ ='bar';
286
+
undefined
287
+
>varㅤfooㅤꘌㅤπ
288
+
'bar'
289
+
290
+
```
291
+
<br>
292
+
**NOTE:** I've tested U+3164 rendering on Ubuntu and OS X with the following: `node`, `php`, `ruby`, `python3.5`, `scala` ,`vim`, `cat`, `chrome`+`github gist`. Atom is the only system that fails by (incorrectly) displaying empty boxes. I have yet to test it out on Emacs and Sublime. From what I understand, the Unicode Consortium will not reassign or rename characters or codepoints, but may be convinced to change character properties like ID_Start/ID_Continue.
0 commit comments