prinsich / php-excel-reader

Automatically exported from code.google.com/p/php-excel-reader
0 stars 0 forks source link

Black diamonds - charset problem #180

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. http://aarhuspanorama.dk/bgreen/
2. 
http://beta.neys.dk/vil-du-vaere-forhandler-af-vores-produkter/forhandlerliste/j
ylland/
3.

What is the expected output? What do you see instead?
Im using excel-reader to get data from my exel to a distributionlist. The code 
works fine outside Wordpress, but all the danish letters occur as black 
diamonds with questionmarks when i embed the php into the wordpress template.

I realize its a charset problem, but i dont know how to fix it.
My  header is set as
<? header('Content-Type: text/html; charset=UTF-8'); ?>
<META http-equiv="Content-type" content="text/html; charset=UTF-8">

What charset is excel-reader output, and how do i change it?

Original issue reported on code.google.com by christof...@gmail.com on 18 Oct 2013 at 10:19

GoogleCodeExporter commented 9 years ago
Okay, so I've realized my list-out on the beta website is latin-1. Or at least 
it shows correctly when i change my browser settigns

Original comment by christof...@gmail.com on 18 Oct 2013 at 10:26