2004-09-19 20:48

by Vasil Kolev

Today I cleaned up my patch for gaim, to work with cyrillic. Now it looks like nicer, because they’ve moved the processing of the incoming messages in a separate function. What’s left is to find the documentation on the internal function that can check if message is valid utf8, and to use it, that will make it even shorter :) Whomever want it, can download it from https://vasil.ludost.net/patches/gaimdiff10.

How it works, in a few words: in the function gaim_plugin_oscar_convert_to_utf8 at the check of the encoding in the parameters of the message I’ve added a check if the message itself is pure UTF8 (isUTF8()). The other thing is the change of the default encoding (that should be a configuration option).

I slept through the rest of the day, and I intend to go to sleep again in the next few hours.

Leave a Reply