Title: Re: [Active4d-dev]  A4D, 4D, Javascript, Mail messages charset conversions
>> Regarding the issue with _javascript_:
>>
>> 1. no encoding problem with extended characters when using A4D to
>> output
>> database information to browser except for the Euros sign that never
>> displays correctly.
>
> Please enter that as an issue at http://www.aparajitaworld.com/mantis
> so I can take care of it.

Done issue 0000261

>
>
>> 2. problems still exists when going through _javascript_ :
>> The A4D method is in a library. The method creates inline _javascript_
>> in the
>> html output file which is sent to the browser. When looking to the
>> source of
>> the page, extended characters are encoded :
>>
>> "12 résidence du Golf"
>>
>> When the _javascript_ function populates the form fields with these
>> value, the
>> address field displays "12 résidence du Golf"
>
> You need to do this in your _javascript_ function:
>
>  $encoding := get output encoding
>  set output enconding(A4D Encoding None)
>
>  // body of _javascript_ code here
>
>  set output encoding($encoding)
>
> This will prevent Active4D from converting special characters to HTML
> character entities.

I have tried already. No change. I tried again with all combinations of
the  “set output encoding” command and got no changes ever.
It looks like if the action was not executed when invoked from within a library.

Regards,
--
Robert Ernens
[EMAIL PROTECTED]
+33.6.11.78.44.68

Reply via email to