[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [TYPO3-dev] lib/div and creating json file



----- Ursprüngliche Nachricht -----
Von:        Walter Seeberger <[email protected]>
Gesendet:   Dienstag, 4. August 2009 11:23:35
An:         [email protected]
CC:
Betreff:    [TYPO3-dev] lib/div and creating json file
> Hello there,
> 
> I want to create a data file (JSON) with some information from my model.
> At the moment I can't manage to use the PHP5 function json_encode(), because 
> this function only accepts UTF-8.
> 
> My question is: Is there a possibility to have the internal array 
> utf8-encoded except a complete iteration with copying every key => value and 
> convert them to strings?
> 
> Thanks for your help.
> Walter

Hi Walter,

have a look here:

http://de3.php.net/manual/de/book.mbstring.php

and here:

http://de3.php.net/manual/de/book.iconv.php

best regards
David
_______________________________________________
TYPO3-dev mailing list
[email protected]
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev