Hi,

I have a Test Server with Version 4.5 and write some Server side Code for a 
iPhone app.
It is the same stuff we have on our websites, get the dates when the waste will 
be removed for your street.

I ave a problem in the encoding for german Umlauts, especially for Straße, 
becaus it is nearly in every street.

here is my code, the array $arStreets is a text array of the streets.

$json := a4d.json.new 
$json->add("object_type"; "getAllStreets")
$json->startArray("data")
for ($i; 1; $size)
        $json->add("";$arStreets{$i})
end for
$json->endArray
$json->write

Normally this should write a jason structure with UTF-8 encoding. In the 
browser it looks wierd. On the end of the iPhone the programmer says he needs 
another encoding. 

some tipps?

Many Thanks
Norbert
_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/

Reply via email to