Patch for Fixes #1483977 and #1483886

till klimpong at
Wed Nov 22 19:41:26 CET 2006

> Alexander Griesser wrote:
> (...)
> The patch can also be downloaded here:
> (...)

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:

Till Klampaeckel
e: mailto:klimpong at
p: +491704018676

Want to know what's up in Berlin?

More information about the Dev mailing list