I forgot the actual hex values I am using. These values are from the example input files shown above and using the 003d conversion in %conv also shown above.

Here are my input file hex values (pre-conversion) from the input file:

U+feff U+005b U+004b U+0045 U+0059 U+005d U+000d U+000a U+0000 U+4e0d U+000a U+0028 U+4e0d U+000a U+003f U+4e0d U+000a U+0036 U+4e0d U+000a U+005b U+4e0d U+000a U+004b U+0065 U+0079 U+0053 U+0074 U+0072 U+003d U+0000 U+4e28 U+4e3f +U+4e36 U+4e5b U+4e0d U+000a U+004b U+0065 U+0079 U+004d U+0061 U+0070 U+003d U+0000 U+4e28 U+4e3f +U+4e36 U+4e5b U+4e0d U+000a U+005b U+0044 U+0049 U+0043 U+0054 U+005d U+000d U+000a U+0000

and here are my hex values for outputting (post-conversion) to the new file (where the 003d conversion shown above is the only one):

U+feff U+005b U+004b U+0045 U+0059 U+005d U+000d U+000a U+0000 U+4e0d U+000a U+0028 U+4e0d U+000a U+003f U+4e0d U+000a U+0036 U+4e0d U+000a U+005b U+4e0d U+000a U+004b U+0065 U+0079 U+0053 U+0074 U+0072 U+006b U+0065 U+0079 U+0031 +U+0000 U+4e28 U+4e3f U+4e36 U+4e5b U+4e0d U+000a U+004b U+0065 U+0079 U+004d U+0061 U+0070 U+006b U+0065 U+0079 U+0031 +U+0000 U+4e28 U+4e3f U+4e36 U+4e5b U+4e0d U+000a U+005b U+0044 U+0049 U+0043 U+0054 U+005d U+000d U+000a U+0000

Again, many thanks.


In reply to Re: Search and replace in Unicode filess by bm
in thread Search and replace in Unicode files by bm

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.