in reply to Re^9: best sort
in thread best sort

you need various bits of metadata to know how to handle it.

Ah. So when a Unicode file is sent somewhere, it needs to be accompanied by another file containing metadata to identify which "unicode" the first contains. But what encoding is the metadata in? Now you need another file ...

Oh yeah! That's great design.

a belligerent anonymous coward,

Translations:


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.

Replies are listed 'Best First'.
Re^11: best sort
by tchrist (Pilgrim) on Aug 18, 2011 at 16:24 UTC
    Ah. So when a Unicode file is sent somewhere, it needs to be accompanied by another file containing metadata to identify which "unicode" the first contains. But what encoding is the metadata in? Now you need another file ...
    BZZZT!

    (And thank you for playing.)

    Precisely what part of “There is no such thing as a Unicode file.” was it that you didn’t understand?

      “There is no such thing as a Unicode file.”

      BZZZT!

      A sample: (Note well the source!)

      FAQ - UTF-8, UTF-16, UTF-32 & BOM

      unicode.org/faq/utf_bom.html - Cached

      In that form, the BOM serves to indicate both that it is a Unicode file, and which of the formats it is in. Examples: ...

      See, even they recognise the need. Their mistake was not making it compulsory!

      What do you not understand about constructional English?

      1.    A text file: a file that contains text.
      2. An image file: a file that contains an image.
      3.    A video file: a file that contains video.
      4. A unicode file: a file that contains unicode.

      Now, stop being such an ass. As diversionary tactics go, it's a lousy one.

      You've still failed to answer the question. I posed way back there:

      Explain how you are going to solve the problem of sorting names written in [a combination of] Latin, Cyrillic, Arabic, Farsi, Thai, Chinese, Japanese, Urdo, Gaelic Ge'ez, Osmanya, Tifinagh ... et al.


      Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
      "Science is about questioning the status quo. Questioning authority".
      In the absence of evidence, opinion is indistinguishable from prejudice.