#121 open
Piur

Trouble with Spanish characters

Reported by Piur | October 22nd, 2010 @ 05:49 AM

Hi,

We are integrating with an asterisk implementation and we are having trouble with some variables that include some Spanish characters like ñ,á,é,í,ó,ú . In the dialplan.rb the variable seems to get the value correctly, but then when we try to work with it, or debug it, we find that the value has changed to nil.

Here is the code:

comentarios = get_variable("COMENTARIOS")
ahn_log.debug comentarios

Debug result:

DEBUG agi: >>> GET VARIABLE "COMENTARIOS"
DEBUG agi: <<< 200 result=1 ( LOC Cobeña )

DEBUG ahn: NilClass: nil

We are just beggining with adhearsion, maybe it is a setup error, but it is really weird, because other variables can work correctly with Spanish characters.

Thanks in advance.

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Shared Ticket Bins

People watching this ticket

Pages