Foreign Characters In Squidoo With Unicode
Ranked #1,232 in Squidoo Community, #120,909 overall
The Easy Method: Use HTML Numerical Character References (NCRs)
The following are two simple methods to get foreign characters to appear in your Squidoo lenses.
Step 1. Enter your text in a word processor.
Step 2. Copy and paste your text into the form at pinyin.info to convert it to html numerical character references (NCRs). The website says it's for chinese, but ignore that, it will work for many different languages.
Step 3. Copy and paste the resulting html NCRs into your squidoo module.
The html NCRs are a bunch of "&" ampersands and numbers that look something like this: 鱿鱼 See the wikipedia articles on Numeric Character References and Unicode for more info.
Image
There's also a nice converter by Richard Ishida that will also convert NCRs back to text. Richard is the Internationalization Activity Lead at the W3C (World Wide Web Consortium), aka uber geek.
pinyin.info - Simple form to convert foreign characters to html compatible unicode NCRs.
rishida.net - Converts the other way, from unicode to regular text too.
Numeric Character References - Wikipedia article.
Unicode - Wikipedia article
The Most Reliable Method: Use Gif or Jpeg Image Files

![]()
Boy Writing Chinese Calligraphy
Buy at AllPosters.com
Step 2. Do a screen capture of the characters you want to include in your lens.
Step 3. Use an html <img> tag to include the image file in your lens.
Example html: <img src="http://yourimageserver.com/Image/ChineseSquidChars.gif" />
See the following lenses for more info on using html <img> tags.
HTML for Photos: A Tutorial for the Semi-Clueless - Adding images to lenses using html.
Basic HTML for Squidoo - Another good lens on adding images with html.
Examples Of What The Viewer Sees

![]()
Intention Art Print
Buy at AllPosters.com
Here's an example of what they might see.
鱿鱼 - Displayed using html unicode NCRs

- Displayed with html <img> tags.
- what the viewer will probably see without correct fonts installed.So depending on how much text containing foreign characters you want to display, using jpg image files might be preferable. It will display the characters even if the user doesn't have the correct fonts installed.
Doing a Screen Capture

![]()
Foreign Legion Adventures
Buy at AllPosters.com
Once you have the screen capture loaded into your image editing software, crop the image down to show only the characters you want to display.
Why Do I Have To Use Unicode?
Computers don't store letters! Computers can only store ones and zeros. It just looks like they store letters and words because we tell the computers how to convert the ones and zeros, into letters. In fact there's something called the ASCII table that is a standard method used by computers for just that purpose. For instance, computers that use the ASCII table, will store the letter "A" as the number 65, the letter "B" as 66, and so on.
The problem is that the ASCII table only tells a computer how to convert the english alphabet to numbers, plus a few other characters. It just doesn't have enough space in the table to represent all the characters from all the different languages in the world. So computer companies ended up creating a bunch of new tables that tell a computer how to store characters, and nobody really agreed on how to do it.
Internationalization According To The Unicode Consortium

![]()
Love Art Print
Buy at AllPosters.com
The Unicode Consortium created the Unicode Standard, which they describe as:
Unicode provides a unique number for every character, no matter what the platform, no matter what the program, no matter what the language.
Unicode supports Cherokee indian and Cuneiform too!
And they mean business too! Unicode includes characters from Runic, Ethiopic, Cherokee indian, Hanunoo, and Glagolitic scripts.Unicode Charts - List of all the different scripts (languages) included in Unicode, and charts of all the individual characters.
Don't Make Me Think
A Common Sense Approach to Web Usability
Look Inside This Book with Amazon's preview feature.
Read the reviews.

Don't Make Me Think: A Common Sense Approach to Web Usability, 2nd Edition

Questions and Comments Please
-
Reply
-
vendexo
Nov 10, 2011 @ 5:55 pm | delete
- Using the correct unicode codes, numerical character refererences or HTML entities in preference to images has the advantage is that the text remains in text form and can be processed by software, for example it can be searched for words, or fed into an automatic language translator. If it's just an image, then such processing is usually too difficult or awkward to do, and software which processes your document will just treat it as an image and skip over it.
-
-
Reply
-
sfldiscounts
Oct 25, 2011 @ 9:59 am | delete
- Awesome! For a newbie to Squidoo this will help. Thanks :)
-
-
Reply
-
sukkran
Dec 17, 2010 @ 9:39 am | delete
- useful and informative lens
-
-
Reply
-
TylaMac
Jun 16, 2009 @ 8:08 am | delete
- Very cool! I had no idea this was possible.
-
-
Reply
-
JustBon-Crochet-Designs
Jun 12, 2009 @ 10:40 pm | delete
- Great resource!
-
- Load More
Squidoo Books
by MagicBeanDip
Newest Lenses:
Choose The Best Back Massager
Kripalu Yoga
Heart and Key Necklaces
Key Necklaces
I'm a massage therapist and live with my wife Mona...
more »
- 28 featured lenses
- Winner of 21 trophies!
- Top lens » Couples Heart Necklaces
