Unicode tricks: Difference between revisions

From Freephile Wiki
Created page with "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' withou..."
 
using HTML-entities for Unicode
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
Sometimes you just want a character that is not a standard letter, that will show up in email or a webpageFor example, we made this handy 'Used Car Buying Checklist' without any HTML forms by simply using the Unicode character for a checkbox.
{{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 charactersAs 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.


The standardised Unicode characters that best represent a checkbox are:
== ☐ ☑ ☒ ==


?, U+2610 Ballot box
The standardized Unicode characters that best represent a checkbox are:
?, U+2611 Ballot box with check
If you don't have a Unicode-safe editor you can naturally spell them as ☐ and ☑.


(There is also U+2612 using an X, ?.)
&#x2610;, U+2610 Ballot box <br>
&#x2611;, U+2611 Ballot box with check <br>
&#x2612;, U+2612 Ballot box with X <br>


See also: [[wp:Checkbox]] [[Fonts]] [[I18N]]
If you don't have a Unicode-safe editor you can use the HTML entity equivalent:<br>
&amp;#x2610; <br>
&amp;#x2611; <br>
&amp;#x2612; <br>
 
== See also ==
 
[[wp:Checkbox]] [[Fonts]] [[I18n]]


[[Category:Fonts]]
[[Category:Fonts]]

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]

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]

wp:Checkbox Fonts I18n