[Rt-devel] Re: [rt-users] Russian description cause system error

Pavel Růžička pavel.ruzicka at i.cz
Mon Sep 12 14:52:29 EDT 2005

We have also problem with this error:

System error
error: Cannot decode string with wide characters at
/opt/lib/perl5/5.8.4/i386-linux-thread-multi/Encode.pm line 166.

It happened when first user tried to view ticket history, second and all 
next attempts displaying ticket history were succesfull. It affected 
only first view.

Problem appears after upgrade Encode 1.99_01 to 2.12

This patch solves it!

Thanks, Ruza

Ruslan Zakirov wrote:
> Actually, queue is successfuly created, but when RT tries to show
> queue info and calls __Value methods DBIx::SB takes values from cache
> where all values already has UTF8 flag on, so decode_utf8 fails cuz it
> requires octets input.
> We should just check UTF8 flag state before call decode_utf8, I'll
> prepare patch and send it today.
> On 9/7/05, Ruslan Zakirov <ruslan.zakirov at gmail.com> wrote:
>>I can reproduce this, but didn't dig deep why it happens.
>>On 9/7/05, cronfy - ipnet <cronfy at ipnet.ru> wrote:
>>>Good day, everyone!
>>>Nice to meet you.
>>>I have just installed RT-3.4.4 with mod_perl/1.29 and Apache/1.3.31.
>>>It works fine while it is english, but when I try to set russian
>>>description for a new queue or group, I get System Error like one
>>>I placed here: http://cronfy.spb.ru/error.htm,  but group or queue
>>>is created though. Creating a group or a queue with russian name
>>>and english description works OK.
>>>There was same problem with setting russian descriptions for
>>>CustomsFields values when I used RT-3.4.3, but this problem has gone
>>>after I upgraded RT.
>>>What can I do to fix this?..
>>>Thank You.
>>> cronfy                          mailto:cronfy at ipnet.ru
>>>Be sure to check out the RT Wiki at http://wiki.bestpractical.com
>>>Buy your copy of our new book, RT Essentials, today!
>>>Download a free sample chapter from http://rtbook.bestpractical.com
>>Best regards, Ruslan.

Pavel Ruzicka, HelpDesk ICZ

*** HelpDesk ICZ a.s. *********************
Hvezdova 1689/2a, 140 00 Prague 4, CZ
tel: +420 24 41 00 111   _
Fax: +420 24 41 00 222  @_}-,^--`--
GSM: +420 724 429 767
mailto:pavel.ruzicka at i.cz http://www.i.cz

More information about the Rt-devel mailing list