Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^2: Unicode UTF16 - Unknown encoding error

by Anonymous Monk
on Jun 25, 2007 at 11:12 UTC ( [id://623143]=note: print w/replies, xml ) Need Help??


in reply to Re: Unicode UTF16 - Unknown encoding error
in thread Unicode UTF16 - Unknown encoding error

I'm using following module for the conversion. use Encode; I'm unable to paste my input file here. I would like to give some more information: If i open the input file in the word (Confirm conversion at over - enabled). It is opening under 'Unicode' mode. If open the same file in notepad, wordpad and few text editor(UltraEdit), it is giving proper output. If i open this in other text editor (Epsilon, Emacs), it is showing junk characters.

Replies are listed 'Best First'.
Re^3: Unicode UTF16 - Unknown encoding error
by john_oshea (Priest) on Jun 25, 2007 at 11:25 UTC

    Yes, but what are you using to convert your Perl script to an .exe? PAR, PerlApp, something else? That's going to be where your problem is by the sounds of it.

      I'm using PerlAPP 5.2.0.

        OK, I'm not that familiar with PerlApp, but it looks like you may need to explicitly tell it to include Encode - something like:

        perlapp myscript.pl --add Encode

        You may also need to add Encode::Unicode (and possibly others) if Encode delegates its Unicode-handling to more specific modules (as I suspect it might).

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (5)
As of 2024-04-19 11:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found