|Problems? Is your data what you think it is?|
UTF 16 encoding problemsby jrvd (Novice)
|on Jul 05, 2013 at 14:55 UTC||Need Help??|
jrvd has asked for the
wisdom of the Perl Monks concerning the following question:
Edit: I found the solution. I needed to use '>:raw:encoding(UTF-16)' ;)
So I am building a text file that will be imported with a bulk insert into SQL Server. However, since I am using french langage characters, I need the file to be encoded in UTF-16.
Here is what I am doing (this isn't the entire code, just the relevant parts):
Once this is done however, my output document looks something like this:
I realize that the problem seems to be the new line character however I am not sure what the solution is. Thanks for your help!