Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^4: utf file to ansi, but doesn't work?

by ikegami (Patriarch)
on Feb 28, 2011 at 16:49 UTC ( [id://890589]=note: print w/replies, xml ) Need Help??


in reply to Re^3: utf file to ansi, but doesn't work?
in thread utf file to ansi, but doesn't work?

He's on Windows. I'd be surprised if Notepad++ didn't have a hex mode, but one could always use Perl.

perl -nE"BEGIN { $/=\16 } say uc unpack 'H*', $_" file

Replies are listed 'Best First'.
Re^5: utf file to ansi, but doesn't work?
by eff_i_g (Curate) on Feb 28, 2011 at 17:44 UTC

    On Windows with paths like /www and /var? I assumed he was viewing files in Notepad++ via Samba and still had terminal access (like me).

    Notepad++ has a hex plugin.

      doh! Of course he isn't. Nevermind X_X

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (4)
As of 2025-12-15 15:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What's your view on AI coding assistants?





    Results (95 votes). Check out past polls.

    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.