I've been reading the MySQL documentation at http://dev.mysql.com/doc/mysql/en/Probl ... _sets.html
-- all my Perl scripts have been failing with the error mentioned there:
File 'C:\mysql\\share\charsets\?.conf' not found (Errcode: 22)
Character set '#48' is not a compiled character set and is not specified in the 'C:\mysql\\share\charsets\Index' file
I've managed to work around it by doing the following:
1. Copy <xampp_dir>\mysql\share\contents to c:\mysql\share\contents
2. Create file "Index" containing one line: "latin1 48"
3. Copy latin1.xml to latin1.conf
However, I'm wondering if anybody has figured out a better way of fixing this in the XAMPP setup. Various comments on the mysql.com site point to a bug in MySQL, a bug in PHP, and a bug in Apache -- I can't tell how it's any of them. And making the changes to my.cnf (for specifying character-sets-dir) didn't seem to help.
Any suggestions for better workarounds are most welcome.
I'm also putting this here so that: 1) anybody who hits this error can see the workaround, and 2) the XAMPP developers might toss around any ideas for workarounds that could be put into the package itself.