Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

Re: Unicode UTF16 - Unknown encoding error

by john_oshea (Priest)
on Jun 25, 2007 at 11:01 UTC ( #623141=note: print w/replies, xml ) Need Help??

in reply to Unicode UTF16 - Unknown encoding error

At first glance, it would appear that whatever you're using to convert from .pl -> .exe is not bundling in the modules you're specifying in your code (Encode by the looks of it). What are you using to do the conversion?

Replies are listed 'Best First'.
Re^2: Unicode UTF16 - Unknown encoding error
by Anonymous Monk on Jun 25, 2007 at 11:12 UTC
    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.

      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.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2016-10-22 02:50 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (291 votes). Check out past polls.