Goin' UTF-8

Published in Fiftyfoureleven on Tuesday, June 29th, 2004

A few changes made and our blog now has utf-8 character encoding.

(This was published in 2004, if you happen to have seen it pop into your feedreader on 06/03/2007, sorry, this was due to a bug in our CMS.)

We'd been wanting too for awhile, and were finally inclined to make the swith to utf-8 by Anne Van Kesteren's Quick guide to UTF-8.

There were a few glitches, and some time was lost due to an entity encoding bug in Opera (which, upon examining the comments at that link, I knew about - how soon we forget).

The why's and what's of utf-8 can be found here, in the links contained therein, and in Anne's post and the links he provides.

While doing all of this, I learned that viewing source in Opera, which by default launches in Wordpad (windows), words like Iñtërnâtiônàlizætiøn get munged because Wordpad apparently doesn't like utf-8... I'll need to change Opera's default viewer, or perhaps I should just stick with Firefox, which wouldn't have caused me to lose time due to the aforementioned bug :-/

Comments and Feedback

Putting it to the test. Stolen from the source code on Anne's site and his post about Iñtërnâtiônàlizætiøn. See how this maxes out my use of background images. Perhaps time to get some sliding door mechanisms built into these...

??? ?????????????????????????? ? ?? ? ??? ?????????? ?????????????? ?? ?? ? ?????????? ?????????????????? ? ?? ????????? ??????????????????????, ?????? ??????? ??????????????


??? ???? ???? ??????? ?? ????? ????? ????? ??? ??, ?? ??? ????? ????????? ???? ?? ??? ???? ?????? ???????


??????? ????????????? ?? ???, ??? ????????? ??????????? ??. ???????? ???????? ??? ??, ???? ????????? ??? ??, ??? ?? ?????? ???????.


????? ?????? ????????? ??????????????? ???? ????? ?????? ?????? ???? ????? ?????? ?????? ??????????? ???? ????? ?????? ?????? ???? ?????? ??????


??? ???? ??????? ??????????? ??, ?? ??? ????? ????? ??????????, ?? ????? ??????? ???????????????? ??. ????? ?????? ???????? ?? ???.


Ik pera tempo dum. Ia istan asterisko mallongigo des, sepen gentonomo tutampleksa da jes. Ene kvin armo kune uk, mia.


Technic internet tu que, sed ultra gymnasios conferentias un. Duo altere instruction professional es, tu que titulo nomina summarios iste.


LINk kl1k 4lvvAyz y0 n0n. |235u|7z 5umm4|213z kUm 47, joo 1+ p4g3, p|33z pR0dUc+, WI5h 717|3 b3 c4n. D0n't l1||k.


Mä voll Léift oft. Wait d'Vullen d'Vioule si ons, ke Hierz d'Sonn gebotzt mir. Op hie Well d'Mier Hämmelsbrot, ech.


·--· ····- -···· - --- · --·- -··- ·-· - ·-- ·-·· -··- ··--- -· ··--·· ···-- --- -·- --


Lav sa luhta vandel goneheca, soica cotumo racinë hón ma. Lá occo amanyar iel, antorya ambarmetta har be. Cé mac.


Te robenie roditelis gde, znat lubijsx studentis li eda, do mai edat tugde probudijm. Da cielis trasil moi. Velju slovis.


Ipe zn pece urazo, hegi undan kayasada kon in, iraga imagi tonni di men. Aga di pani dite jakine, dubi.


Mod seli cont selo vt, n oth pini wawa, sama nasin kin e. Sitelen toki e oko, mun a unpa.


Blümiks olenükobs-li cil nu, ix leklära okälom pejonedon köp. Fe elesedom lätikan magot güä, dugans mans panemof-li bos nu ön.


You make me sick Mike - I still have got a UTF-8 working properly! Nice work.

Ha! I didn't know your last name so I was all "who'se that?" Darkblue out from under cover ;-]

Thanks, by the way. It did take a few tries. I made one attempt a few weeks ago, feebly changing the meta and header, but it turns out that that Opera bug mentioned above was holding me back, along with some little things in my commenting system had to be tweaked to make it all work fine.

雨ã?®ä¸€æ—¥ã€?å¾®ã?‹ã?ªé›²ã?®é–“ã?«è¦‹ã?ˆéš ã‚Œã?™ã‚‹æº€æœˆã€?ã?šã?£ã?¨é? ã??ã?®æœ¨ã?®ä¸Šã?§ã?¯å¤œã‚’æ­Œã?†è™«ã?Ÿã?¡ã€‚庭ã?®çŸ³ã?®ä¸Šã?«éŸ¿ã??雨音をè?žã??。一æ?¯ã?®ã‚°ãƒªãƒ¼ãƒ³ãƒ†ã‚£ãƒ¼ã€?香ã?®ã?‹ã?Šã‚Šã€?ã??れらをã?‹ã??ä¹±ã?™ã‚ˆã?†ã?«å?¹ã?„ã?¦ã?„ã??風。孤独ã?ªæ­“å–œã?®åº­ã€‚

Quoting myself... :-). And now, I could be a very bad boy and use IE mac to input this. It would be all screwed up due to a naughty, naughty bug in that browser that prevents correct input of East Asian text when the charset is UTF-8.

Darkblue out from under cover

Indeed. I thought long and hard after reading someone's (I think it was Scrivs) dismissal of users who post under pseudonyms and have decided to reduce my usage of "DarkBlue" when commenting.

I still have got a UTF-8 working properly

Ouch! I must have been tired when I wrote that. What I meant to write was, "I still haven't got UTF-8 working properly." I suspect that you understood anyway.

I wish more and more sites would move to Unicode. I've always hated the whole character encoding mess.

Home » Blog » Fiftyfoureleven

Check out the blog categories for older content

The latest from my personal website,
Mike Papageorge.com

SiteUptime Web Site Monitoring Service

Sitepoint's web devlopment books have helped me out on many occasions both for finding a quick solution to a problem but also to level out my knowlegde in weaker areas (JavaScript, I'm looking at you!). I am recommending the following titles from my bookshelf:

The Principles Of Successful Freelancing

I started freelancing by diving in head first and getting on with it. Many years and a lot of experience later I was still able to take away some gems from this book, and there are plenty I wish I had thought of beforehand. If you are new to freelancing and have a lot of questions (or maybe don't know what questions to ask!) do yourself a favor and at least check out the sample chapters.

The Art & Science Of JavaScript

The author line-up for this book says it all. 7 excellent developers show you how to get your JavaScript coding up to speed with 7 chapters of great theory, code and examples. Metaprogramming with JavaScript (chapter 5 from Dan Webb) really helped me iron out some things I was missing about JavaScript. That said each chapter really helped me to develop my JavaScript skills beyond simple Ajax calls and html insertion with libs like JQuery.

The PHP Anthology: 101 Essential Tips, Tricks & Hacks

Like the other books listed here, this provides a great reference for the PHP developer looking to have the right answers from the right people at their fingertips. I tend to pull this off the shelf when I need to delve into new territory and usually find a workable solution to keep development moving. This only needs to happen once and you recoup the price of the book in time saved from having to develop the solution or find the right pattern for getting the job done..