Re: UTF-8 and php-gtk
| From: | Daniel Braga | Date: | Fri, 13 May 2005 20:54:48 +0000 |
| Subject: | Re: UTF-8 and php-gtk | ||
| References: | 1 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-5853@lists.php.net to get a copy of this message | ||
use iconv.
Example com KOI8-R locale:
function encode($str) {
return iconv ("KOI8-R", "UTF-8", $str);
}
$test = encode ( _("Test string") );
Andrew Dashin wrote:
Hey, guys.I`m using GtkText and have some problems.My locale is set to UTF-8, and i have three keyboard layouts (en,ru,de) When i`m inpuing data on en or de - all right. But when i do it on ru i can`t view typed symbols... They are displayed incorrectly. thx. Andrew Dashin