[dev] Kolab Webclient: Kolab:: library
Jan Schneider
jan at horde.org
Wed Jan 28 02:26:09 PST 2004
Zitat von Stuart Bingë <s.binge at codefusion.co.za>:
>> - The charset conversions you do with iconv should instead be done with
>> String::convertCharset and MIME::(en|de)code
>
> Ah, the endless wonders of the framework module = )
> One question - when converting a string that is in the current users
> character
> set to UTF-8 using String::convertCharset(), what would one use as the
> '$from' parameter? Would it be $GLOBALS['_HORDE_STRING_CHARSET']?
Simple use String::convertCharset($text, $from) if you wan't to convert *to*
the user's charset and String::convertCharset($text, NLS::getCharset(),
$to) to convert *from* the user's charset.
>> To
>> make it even more reusable we should add a client implementation to our
>> RPC_webdav class.
>
> Well I think I'll leave this until another developer picks it up, or until
> I've finished submitting all the Kolab modifications. Unfortunately time is
> not on my side when it comes to picking up new projects.
I hear you ;-)
Jan.
--
http://www.horde.org - The Horde Project
http://www.ammma.de - Neue Wege des Lernens
http://www.tip4all.de - Deine private Tippgemeinschaft
More information about the dev
mailing list