Hi Gora G,

Gora Mohanty wrote:
> --- "आशीष शुक्ला \"Wah Java !!\""
> <[EMAIL PROTECTED]> wrote:
> 
>> Hi,
>>
>> Recently, I've tried to publish some UTF-8 encoded XHTML documents
>> (containing text in Devanagari script) on web (not my web server).
> [...]
>> Since, I don't have privilege to execute anything on server, I'm
>> unable to set the appropriate HTTP header. So, I added a <meta> tag
>> in my document, and its header now looks like.
> 
> The problem is that this can be set in both the webpage, and the server
> serving up the pages. This is not very clear to me, but I believe that
> the server can override the specification in the document. Take a look
> at the Unix/Linux Unicode FAQ question regarding UTF-8 on the web:
> http://www.cl.cam.ac.uk/~mgk25/unicode.html#web
>   Another solution (which I personally detest, but accept that one
> might be forced into it) is the Byte Order Mark (BOM). Sort of like a
> Star of David. See the Unicode BOM FAQ at
> http://www.unicode.org/faq/utf_bom.html#BOM
> 
> Regards,
> Gora
> 
First of all, sorry, the ISO-8859-1'ed doc's URL is:
http://unixclan.no-ip.org/~21287/index.html

And now, BOM'd UTF-8 document's URL is:
http://unixclan.no-ip.org/~21287/index-bom.html

Well, your suggestion works in Konqueror 3.5.2 (which I'm not expecting it to 
work, because Konqueror, has to interpret BOM characters based on current 
encoding which is ISO-8859-1, therefore Konqueror should ignore it, but it uses 
BOM to set encoding, which is not acceptable according to HTML specification), 
but not in Mozilla Firefox 1.5 which displays BOM characters as it is.

I think this is the problem with HTML specification which says, HTTP header 
emitted by server should be given priority in deciding content-type. But 
according to me, only a document knows in what encoding it is encoded, 
therefore 
document's encoding should be given priority.

Well thanks for the reply.

Ashish Shukla "Wah Java !!"
-- 
आशीष शुक्ला alias "Wah Java !!"
http://wahjava.blogspot.com/

The only key to optimal life is precision.

                                -- Ashish Shukla "Wah Java !!"
                       http://wahjava.blogspot.com/2006/03/useful-thought.html


_______________________________________________
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/

  • Re: [ilugd] Pub... आशीष शुक्ला \"Wah Java !!\"
    • Re: [ilugd... Gora Mohanty
      • Re: [i... आशीष शुक्ला \"Wah Java !!\"
    • Re: [ilugd... Mithun Bhattacharya
      • Re: [i... आशीष शुक्ला \"Wah Java !!\"
        • Re... Mithun Bhattacharya
          • ... आशीष शुक्ला \"Wah Java !!\"
            • ... आशीष शुक्ला \"Wah Java !!\"
              • ... Raj Mathur
                • ... Nishant Sharma
                • ... आशीष शुक्ला \"Wah Java !!\"

Reply via email to