Thanks for your comments. Anyway ...
  1. Sorry. We are not gettting any 2bytes and I don't think we are ever going to.
  2. I dont need to care about those at the moment. All those companies are US based. And I think it's quite likely that if some company uses something else that Latin1 they will know how to specify that in the XML properly. Or that they will use some accentuated characters in the test jobs so we do find out that something is wrong during testing.
  3. The whole point of this is that I do not want to reject stuff I don't have to. The imported stuff will be displayed to the users for review and modification so if we do screw up badly they will notice, but we want to do our best to get the data inside. Of course the scripts will notify me if they have to tweak the XML and I will push the other companies to fix their stuff, but the users should not notice anything if possible.
  4. Again in this case it's safe enough to assume that if the company knows what the heck are entities they will be able to specify the encoding properly.

Jenda
Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live.
   -- Rick Osborne

Edit by castaway: Closed small tag in signature


In reply to Re: Re: Guess between UTF8 and Latin1/ISO-8859-1 by Jenda
in thread Guess between UTF8 and Latin1/ISO-8859-1 by Jenda

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.