Now I think I have at least a way to ship around. It is not nice. So next time
i will be not so kind solving the problems of other people, as here with the
iPhone programmer.
here is my solution. I look what I get from A4D and then do the stuff i need.
$strasse:=_form{"Strasse"}
$strasse:=Replace string($strasse;"À";"ä")
$strasse:=Replace string($strasse;"ß";"ß")
$strasse:=Replace string($strasse;"ö";"ö")
$strasse:=Replace string($strasse;"Ã*";"ü")
$strasse:=Replace string($strasse;"Ä";"Ä")
$strasse:=Replace string($strasse;"Ö";"Ö")
$strasse:=Replace string($strasse;"Ü";"Ü")
Thank you for your patience
Gruß
Norbert
Am 29.06.2011 um 08:42 schrieb Norbert Pfaff:
> Good morning,
>
> one more question.
> I have the log files (4D logweb.text) from the server. There is no request
> with a ü.
> Is it possible, that the request crashing the server is not logged?
>
> Gruß
> Norbert
> Am 28.06.2011 um 19:31 schrieb Aparajita Fishman:
>
>>> I think it could be this line.
>>>
>>>>>>>>>> $strasse:=utf8 to mac(mac to iso($strasse))
>>
>> I looked into it some more, and the solution I suggested there won't work.
>> There are some characters in ISO-8859-1 that are not in Mac Roman. In the
>> case of "ü", it is 0xC3BC in UTF-8, but Active4D assumes it is actually
>> ISO-8859-1, which gets translated to 0xCC2A in Mac Roman. 0xBC in ISO is an
>> unsupported character in Mac Roman, so I change it into an asterisk (0x2A).
>>
>> The only way around this is to url encode the values on the sending end, or
>> post the form as raw data.
>>
>> Many thanks,
>>
>> Aparajita
>> www.aparajitaworld.com
>>
>> "If you dare to fail, you are bound to succeed."
>> - Sri Chinmoy | www.srichinmoy.org
>>
>> _______________________________________________
>> Active4D-dev mailing list
>> [email protected]
>> http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
>> Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/
>
> _______________________________________________
> Active4D-dev mailing list
> [email protected]
> http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
> Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/
_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/