Beefy Boxes and Bandwidth Generously Provided by pair Networks Bob
laziness, impatience, and hubris
 
PerlMonks  

Re^18: Weird error log message

by Nik
on Jun 17, 2009 at 10:11 UTC ( #772319=note: print w/ replies, xml ) Need Help??


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

Ok you are right, i would be more carefull in the future, and iam happy that you are willing to give more detailed explanation when needed.

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. 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.

Youc an explain these to me if you like.


Comment on Re^18: Weird error log message
Re^19: Weird error log message
by ikegami (Pope) on Jun 17, 2009 at 15:01 UTC

    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.

      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://772319]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (12)
As of 2014-04-24 11:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (565 votes), past polls