Razeni MySQL s win1250
Honza Pazdziora
adelton na fi.muni.cz
Pondělí Leden 17 15:46:33 CET 2005
On Mon, Jan 17, 2005 at 03:26:58PM +0100, David Rohlicek wrote:
> Ja to resim na urovni PHPka, kde si provedu prekodovani sam.
>
> |function win1250_to_||latin2||($text)
> {
> $text = StrTr($text,|| "\x8A\x8D\x8E\x9A\x9D\x9E",
> ||"\xA\xAB\xAE\xB\xBB\xBE");
> return $text;
> }
Ne, toto neni korektni zpusob, jak zmenit kodovani.
--
------------------------------------------------------------------------
Honza Pazdziora | adelton na fi.muni.cz | http://www.fi.muni.cz/~adelton/
.project: Perl, mod_perl, DBI, Oracle, large Web systems, XML/XSL, ...
Only self-confident people can be simple.
Další informace o konferenci Test