Connecting Tech Pros Worldwide Help | Site Map

Dealing with accented characters

  #1  
Old May 31st, 2006, 02:45 PM
Mark Drummond
Guest
 
Posts: n/a
I don't do a lot of perl, but what I do usually always involves working
with data in LDAP directories. I have a script now that I run every
Monday to produce a CSV file containing a dump of some key user data
from my directory. I pass that CSV on to some other people and they pull
it in to Excel for viewing.

We recently started allowing accented characters in the directory and
I've noticed that the resulting CSV file ends up with some garbage in
the fields where accepted chars are being used. I'm trying to figure out
what I need to do to handle the accented characters properly.

My script runs from my WinXP laptop, using ActivePerl 5.8.x with the
latest perl-ldap module, connecting to a Sun directory server running on
a Solaris/SPARC box. It simply retrieves the attributes of interest for
all users in one branch of my DIT and outputs those attributes in CSV
format to a file on my laptop. I then email that file to the people who
need it.

Any help is greatly appreciated!

Mark
Closed Thread


Similar Threads
Thread Thread Starter Forum Replies Last Post
PEP 3131: Supporting Non-ASCII Identifiers =?UTF-8?B?Ik1hcnRpbiB2LiBMw7Z3aXMi?= answers 399 May 21st, 2007 12:35 AM
Problem with addslashes =?ISO-8859-1?Q?J=F8rn?= Dahl-Stamnes answers 15 February 27th, 2007 11:15 AM
XSLT disable-output-escaping Lisa answers 1 July 20th, 2005 08:29 AM
Changing the default text codec Fuzzyman answers 5 July 18th, 2005 09:42 AM