Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Converting Unicode

by BillKSmith (Monsignor)
on Dec 07, 2023 at 20:56 UTC ( [id://11156174]=note: print w/replies, xml ) Need Help??


in reply to Converting Unicode

Returning to your original problem, I would suggest a different approach. This sounds like a problem that has already been solved. If you tell us what program created the offending file, some monk probably could point you to that solution.

If that does not work, specify your problem clearly by posting the following information.

  • Code points of the three offending characters
  • The hex encoding of each (from the file dump below).
  • Code points of the replacements.
  • Hex dump of the a segment of the offending file. It should contain at least one sample of each of the three characters.
  • Hex dump of the same segment with the required corrections
  • (optional)Your best guess of the file encoding.

With this much information, we can suggest Perl solutions that will work.

Bill

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (3)
As of 2026-04-10 13:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.