From 583f1c8d80c42195d0ee41f30a885e13d777b79f Mon Sep 17 00:00:00 2001 From: thomascube <thomas@roundcube.net> Date: Tue, 08 Nov 2005 15:18:56 -0500 Subject: [PATCH] Added reply-to-all function (submitted by Julien Brette) --- program/lib/utf8.inc | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/program/lib/utf8.inc b/program/lib/utf8.inc index 72a96b4..43ecb32 100644 --- a/program/lib/utf8.inc +++ b/program/lib/utf8.inc @@ -88,7 +88,9 @@ $thisPos++; } - if ($thisLen == 1) + if ($decimalCode<128) + $encodedLetter = chr($decimalCode); + else if ($thisLen == 1) $encodedLetter = "&#". str_pad($decimalCode, 3, "0", STR_PAD_LEFT) . ';'; else $encodedLetter = "&#". str_pad($decimalCode, 5, "0", STR_PAD_LEFT) . ';'; -- Gitblit v1.9.1