Difference between revisions of "Unicode tricks"

From Freephile Wiki
Jump to navigation Jump to search
(using HTML-entities for Unicode)
 
Line 1: Line 1:
{{Warning|The current editor on this wiki is NOT unicode safe.  Unicode characters will be replaced by ?. So, view the article in one window and edit the article in another so that you can copy/paste back the Unicode}}
+
{{Warning|The current editor on this wiki is NOT unicode safe.  Unicode characters will be replaced by ? in the editor. You can copy/paste Unicode into the editor and it will save properly, but you won't be able to edit the article properly. As a work-around, you could view the article in one window and edit the article in another so that you can copy/paste back the Unicode characters.  As a more permanent solution, we're using the HTML-entity equivalents until we can make the editor Unicode safe.}}
  
 
Sometimes you just want a character that is not a standard letter, that will show up in email or a webpage.  For example, we made this handy '[[Used car checklist|Used Car Buying Checklist]]' without any HTML forms by simply using the Unicode character for a checkbox.
 
Sometimes you just want a character that is not a standard letter, that will show up in email or a webpage.  For example, we made this handy '[[Used car checklist|Used Car Buying Checklist]]' without any HTML forms by simply using the Unicode character for a checkbox.
 
== ? ? ? ==
 
  
 
== ☐ ☑ ☒ ==
 
== ☐ ☑ ☒ ==
 
 
  
 
The standardized Unicode characters that best represent a checkbox are:
 
The standardized Unicode characters that best represent a checkbox are:
  
?, U+2610 Ballot box <br>
+
&#x2610;, U+2610 Ballot box <br>
?, U+2611 Ballot box with check <br>
+
&#x2611;, U+2611 Ballot box with check <br>
?, U+2612 Ballot box with X <br>
+
&#x2612;, U+2612 Ballot box with X <br>
  
If you don't have a Unicode-safe editor you can use the HTML entity equivalent ('''terminate each with a semi-colon'''):
+
If you don't have a Unicode-safe editor you can use the HTML entity equivalent:<br>
&#x2610 <br>
+
&amp;#x2610; <br>
&#x2611 <br>
+
&amp;#x2611; <br>
&#x2612 <br>
+
&amp;#x2612; <br>
  
 
== See also ==
 
== See also ==

Latest revision as of 15:19, 13 January 2016

The current editor on this wiki is NOT unicode safe. Unicode characters will be replaced by ? in the editor. You can copy/paste Unicode into the editor and it will save properly, but you won't be able to edit the article properly. As a work-around, you could view the article in one window and edit the article in another so that you can copy/paste back the Unicode characters. As a more permanent solution, we're using the HTML-entity equivalents until we can make the editor Unicode safe.


Sometimes you just want a character that is not a standard letter, that will show up in email or a webpage. For example, we made this handy 'Used Car Buying Checklist' without any HTML forms by simply using the Unicode character for a checkbox.

☐ ☑ ☒[edit | edit source]

The standardized Unicode characters that best represent a checkbox are:

☐, U+2610 Ballot box
☑, U+2611 Ballot box with check
☒, U+2612 Ballot box with X

If you don't have a Unicode-safe editor you can use the HTML entity equivalent:
&#x2610;
&#x2611;
&#x2612;

See also[edit | edit source]

wp:Checkbox Fonts I18n