Re: Pb with special characters and accents

2013-08-29 Thread Alex Harui
ut trace. >> > Alex Haruy already told me that we can't rely on it and now it is sure >> ;-) >> > >> > Nevertheless my main problem is concerning the transfer of a string >>using >> > NetConnection.call() >> > >> > The remote s

Re: Pb with special characters and accents

2013-08-29 Thread manitas manitas
gt; > > > > > > > > > 2013/8/29 Mark Line > > > >> That is weird. I just traced the same thing in Flash builder 4.7 using: > >> Apache Flex 4.9.0 FP11.5 AIR3.5 en_US > >> > >> And it worked " éàçè " > >> >

Re: Pb with special characters and accents

2013-08-29 Thread Julio Carneiro
- >> From: Peter Ginneberge [mailto:p.ginnebe...@gmail.com] >> Sent: 29 August 2013 15:40 >> To: users@flex.apache.org >> Subject: Re: Pb with special characters and accents >> >> There's definately an SDK (or flash player?) related bug regarding trace(). >

Re: Pb with special characters and accents

2013-08-29 Thread manitas manitas
nebe...@gmail.com] > Sent: 29 August 2013 15:40 > To: users@flex.apache.org > Subject: Re: Pb with special characters and accents > > There's definately an SDK (or flash player?) related bug regarding trace(). > With some SDK's, tracing special characters works fine in ot

RE: Pb with special characters and accents

2013-08-29 Thread Mark Line
use AIR 3.8 is broken), so I can't test with 4.10 atm. - Original Message - From: "Mark Line" To: Sent: Thursday, August 29, 2013 3:19 PM Subject: RE: Pb with special characters and accents I think é is turning into é because trace() only outputs in UTF-8 while the i

Re: Pb with special characters and accents

2013-08-29 Thread Peter Ginneberge
test with 4.10 atm. - Original Message - From: "Mark Line" To: Sent: Thursday, August 29, 2013 3:19 PM Subject: RE: Pb with special characters and accents I think é is turning into é because trace() only outputs in UTF-8 while the input of is probably in latin1. Which

Re: Pb with special characters and accents

2013-08-29 Thread manitas manitas
itas manitas [mailto:manitas0...@gmail.com] > Sent: 29 August 2013 12:26 > To: users > Subject: Re: Pb with special characters and accents > > Thank you so much Mark, it works with the escape function. > > This workaround works but doesn't help me to understand the whole thi

RE: Pb with special characters and accents

2013-08-29 Thread Mark Line
Sent: 29 August 2013 12:26 To: users Subject: Re: Pb with special characters and accents Thank you so much Mark, it works with the escape function. This workaround works but doesn't help me to understand the whole thing, does it means URLVariables use a different default charset ? how to

Re: Pb with special characters and accents

2013-08-29 Thread manitas manitas
ast seem) to be performant) >> >> -Original Message----- >> From: manitas manitas [mailto:manitas0...@gmail.com] >> Sent: 29 August 2013 11:38 >> To: users >> Subject: Re: Pb with special characters and accents >> >> Thanks for your help. >> >

Re: Pb with special characters and accents

2013-08-29 Thread manitas manitas
the escape and unescape > functions > (build into flash player, so they are (or at least seem) to be performant) > > -Original Message- > From: manitas manitas [mailto:manitas0...@gmail.com] > Sent: 29 August 2013 11:38 > To: users > Subject: Re: Pb with special

RE: Pb with special characters and accents

2013-08-29 Thread Mark Line
with special characters and accents Thanks for your help. The fact is that If you look at the snippet in my previous email I don't think it's a transfer problem. The charset problem happens before the transfer so I think that even if I put the data inside a XML the resulting string won't

Re: Pb with special characters and accents

2013-08-29 Thread manitas manitas
Thanks for your help. The fact is that If you look at the snippet in my previous email I don't think it's a transfer problem. The charset problem happens before the transfer so I think that even if I put the data inside a XML the resulting string won't be correct. By the way I only transfer small

RE: Pb with special characters and accents

2013-08-29 Thread Miguel Ferreira
Hi, I don't know what data type are you transferring to your server side.In my last application i had to use JSON and inside a XML with data about text (pages of text!). To not loose the content i add to create a child on the XML item for the content with cdata like this: private function addCh

Re: Pb with special characters and accents

2013-08-29 Thread manitas manitas
Thanks for your help but the problem seems to be related to the charset used by the app before or during the encoding of the post vars. The class URLVariables normally does the encoding to standard post variables for me so that non-asci characters are transformed that way : http://www.degraeve.com

Re: Pb with special characters and accents

2013-08-28 Thread Alex Harui
I think that is two different issues. There is a standard for POST data and you probably have to encode non-ascii characters. See encode() method. On 8/28/13 3:04 PM, "manitas manitas" wrote: >Thanks for your answer. > >I have just test to put an accent directly in the trace function like this

Re: Pb with special characters and accents

2013-08-28 Thread Keith Lee
I had a similar problem when trying to send German characters from my flex app to an email API. I resolved it by encoding the characters before sending it to the server and decoding it at the server. Perhaps this method will work for you? I believe I used encodeURI Keith On Aug 28, 2013 6:05 PM

Re: Pb with special characters and accents

2013-08-28 Thread manitas manitas
Thanks for your answer. I have just test to put an accent directly in the trace function like this : trace("é"); And there is the same encoding issue so it should not be a problem from the TextInput. You said I can't rely on the trace function but this encoding problem also appears when I direct

Re: Pb with special characters and accents

2013-08-28 Thread Alex Harui
trace() is a low-level Flash debugger feature. I'm not sure you can rely on it regarding character sets. On 8/28/13 1:56 PM, "manitas manitas" wrote: >Hi, > >I'm using the apache flex 4.10 sdk to develop an Adobe Air desktop app for >Windows. > >I have a problem with special characters and acce