WTF-8 [entries|reading|network|archive]
simont

[ userinfo | dreamwidth userinfo ]
[ archive | journal archive ]

Tue 2006-11-21 12:09
WTF-8
LinkReply
[identity profile] oneplusme.livejournal.comTue 2006-11-21 18:35
Yuck. I've never seen that. Perhaps it comes up more often in databasey sorts of applications (which I generally avoid anyway).

No, what comes up in database-y applications is typically a set of tables in a cross-border customer system being accessed and updated by non-Unicode-aware clients, each of which may be using a different local character set...

...and then someone else comes along and installs a Unicode-aware client on some subset of the customer terminals which expects all this data to be in UTF-8. (For bonus marks, these may then also be used to edit some records.)

Afterwards, another person will come and ask me how to make sure all the records display correctly everywhere. Laughter typically ensues - at least until I realise that they're really not joking.
Link Reply to this | Parent | Thread
[identity profile] womble2.livejournal.comWed 2006-11-22 01:36
Real DBMSes know about character encodings. What are you using?
Link Reply to this | Parent | Thread
[identity profile] oneplusme.livejournal.comWed 2006-11-22 07:38
You don't want to know...

(A proprietary ISAM-based beastie. The system in question dates from rather a while before Unicode even existed, so it's just about excusable. Its as-yet-unreleased replacement mercifully does do the Right Things and manages to use a Real Database to boot.)
Link Reply to this | Parent | Thread
[identity profile] womble2.livejournal.comWed 2006-11-22 10:13
I think I can probably manage to avoid that then!
Link Reply to this | Parent | Thread
[identity profile] oneplusme.livejournal.comWed 2006-11-22 22:07
Unless you accidentally get yourself employed by my orkplace, you probably can, yes.

Then again, this (http://thedailywtf.com/forums/thread/97990.aspx) story is about one of the two largest companies in our market (we were recently bought by the other one), so as horrifying as the thought is, it's pretty safe to say that It Could Be Worse. Much worse.
Link Reply to this | Parent
navigation
[ go | Previous Entry | Next Entry ]
[ add | to Memories ]