Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^19: Weird error log message

by ikegami (Pope)
on Jun 17, 2009 at 15:01 UTC ( #772425=note: print w/ replies, xml ) Need Help??


in reply to Re^18: Weird error log message
in thread Weird error log message

For example i did read wikipedia today on BOM definition but i didn't understand why this is usefull to exist and actually what is it anyways.

Quote previously linked document (emphasis mine): While UTF-8 does not have byte order issues, a BOM encoded in UTF-8 may nonetheless be encountered. A UTF-8 BOM is explicitly allowed by the Unicode standard, but is not recommended, as it only identifies a file as UTF-8 and does not state anything about byte order."

Also i don't undersand the different between ANSI(which you told me this sitn an encoding) to utf8 and why the remote webserver has trouble idntifying anythign else than ANSI.

They're both character encodings, but different encodings.


Comment on Re^19: Weird error log message
Re^20: Weird error log message
by Nik on Jun 17, 2009 at 17:06 UTC
    Quote previously linked document (emphasis mine): While UTF-8 does not have byte order issues, a BOM encoded in UTF-8 may nonetheless be encountered. A UTF-8 BOM is explicitly allowed by the Unicode standard, but is not recommended, as it only identifies a file as UTF-8 and does not state anything about byte order.

    I didn't understand it. What is Byte Order and why is it important?

      What is Byte Order

      "A byte-order mark [...] is used to denote the endianness of a string"

      why is it important

      "A UTF-8 BOM [...] does not state anything about byte order" since only one byte ordering is allowed for UTF-8.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://772425]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (5)
As of 2014-09-01 22:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (17 votes), past polls