Alexander Griesser wrote: (...) The patch can also be downloaded here: http://tuxx-home.at/projects/roundcubemail/roundcubemail-loginumlauts.diff (...)
In regard to this, I think one should *always* check if the data is really UTF-8 before you decode it. E.g. if roundcube gets integrated into an environment where no UTF-8 is used, the utf8_decode() would break the string supplied.
Example: "äöü" in ISO-8859-1, after a utf8_decode() only a "?" is left of the string.
I wrote a small blog entry to illustrate encoding-difficulties a while back. While it's specifically a Smarty modifier, maybe it's still useful for someone: http://blog.klimpong.de/archives/2006/10/permanent_uft8.html
Till Klampaeckel e: mailto:klimpong@gmail.com p: +491704018676 l: http://beta.plazes.com/whereis/till
Want to know what's up in Berlin?