CGI: charset

Jiri Polcar polcar na physics.muni.cz
Pondělí Červen 16 09:44:40 MEST 2003


On Fri, Jun 13, 2003 at 06:39:23PM +0200, Honza Pazdziora wrote:
> 
> 		encoding => 'ISO-8859-2',

To pomohlo, sice je tam porad utf-8, ale prohlizec to uz interpretuje
spravne... Mam perl 5.6.1. Zkousel jse, to i v 5.8.0 a tam je misto
utf-8 napsano ISO-8859-2, takze to bude nejaka zastarala chybka.


---cite--- perl 5.6.1
    Content-Type: text/html; charset=ISO-8859-2

    <?xml version="1.0" encoding="utf-8"?>
    <!DOCTYPE html
            PUBLIC "-//W3C//DTD XHTML Basic 1.0//EN"
            "http://www.w3.org/TR/xhtml-basic/xhtml-basic10.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" lang="en-US"><head><title>TAF
    decoder</title>
    </head><body encoding="ISO-8859-2">ěąčřľýáíé»ůúé</HTML>
---cite---


---cite--- perl 5.8.0
    Content-Type: text/html; charset=ISO-8859-2

    <?xml version="1.0" encoding="ISO-8859-2"?>
    <!DOCTYPE html
            PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
             "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" lang="en-US"
    xml:lang="en-US"><head><title>TAF decoder</title>
    </head><body>ěąčřľýáíé»ůúé</HTML>
---cite---

--
JP


Daląí informace o konferenci Perl