Hi all,
In our OTRS-3.0 system, the bosses wanted some extra states, so they entered
them through the SysAdmin interface… in Spanish, with special characters. Then
they asked me to made a modification in AgentTicketZoom that it would show a
special box if the state was a specific one, something like an alert. I added
these lines to the module and it worked ok:
$SpecialState = $Self->{StateObject}->StateLookup(
State => 'pendiente de aprobación',
);
The file was in UTF-8 without BOM encoding .
Now I’m testing to upgrade the system to OTRS-3.1.5 and I’ve found that the
same line fails in the new system:
[Error][Kernel::System::State::StateLookup][585] No State for
pendiente de aprobación found!
It’s obviously an encoding problem.
And it works if a change AgentTicketZoom.pm encoding to ANSI!
Where may be the problem? I think the DB is working in UTF-8
Kind regards,
Juan Clavero Almirón
_______________________________________________
OTRS mailing list: dev - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/dev
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev