UTF-8

UTF-8 in LAMP

Software

Here's a handy function returning an array of UTF-8 characters associated to a simple ASCII character. Can be useful when offering users an interface to browse by first character (0-9, A-Z) while actual data retrieval should obviously also include entries starting with a special character.

For example, browsableUtf8Characters("e") returns an array containing e. è, é, ê and ë which can easily be joined and then used in SQL like-queries.

Download browsableUtf8Characters.php or view the source first. (License: none really, enjoy!)

AdWords "System Down" error

Software

Well, this is certainly a new experience for me:

/img/journal/20060729-adwordsdown.png

AdWords is down for scheduled maintenance, but Firefox isn't quite capable of showing a decent error message here, all I see is what appears to be XML mixed with a weird UTF-8 character. What the page actually should say (Konqueror works fine):

AdWords is temporarily down due to system maintenance until approximately 4:00pm PST on 29th July. Please note that your campaigns are running normally during this short downtime. We apologise for any inconvenience.

UTF-8 problems in Konqueror, now also in Firefox. What's a man supposed to do? Download MSIE for Linux?

Konqueror xmlHttpRequest bug

Software

This really sucks: Konqueror eats characters from user input in xmlHttpRequest POST data, when the input contains UTF-8 characters. I filed a bug report and created a test-case, but as long as this isn't resolved I can't remove my workarounds in Kiki, which upon further investigation turns out to be rather limited.

© Copyright 1995-2008 Robert John Kaper. All rights reserved.

Tom has more friends but mine are prettier! (#1/1)