PHP a UTF16

Martin `MJ' Mares mj na ucw.cz
Pátek Srpen 15 13:47:46 CEST 2008


Zdravim!

> ja si nemyslim, ze BOM patri do textoveho souboru - pro me je to smeti,
> FF FE neni platny znak, a tak to snad ani neni textovy soubor. Ale to je
> jen muj nazor, mozna, ze BOM je v poradku a problem mate jinde, to za
> prve.

BOM urcite v poradku je (je v Unicode definovan jako zero-width no-break
space) a v UTF-16 ho je zvykem uvadet. Jina vec je jeho pouziti v UTF-8,
ktere je nanejvys sporne, ale na Windows ho take potkate.

				Have a nice fortnight
-- 
Martin `MJ' Mares                          <mj na ucw.cz>   http://mj.ucw.cz/
Faculty of Math and Physics, Charles University, Prague, Czech Rep., Earth
"First they ignore you. Then they laugh at you. Then they fight you. Then you win." -- Gandhi



Další informace o konferenci Linux