Jump to content

Convert Windows 1252 to UTF-8


Mike521

Recommended Posts

Anyone know of a way to convert windows 1252 into UTF-8?

 

For example our database has lots of product descriptions that unfortunately have fancy quotes and double quotes (probably from MS Word etc).

 

I want to change the charset on our web pages to UTF-8, but the quotes get messed up.

 

Using utf8_encode doesn't work because it wants an ISO string as input, not 1252.

 

Thanks in advance

Link to comment
https://forums.phpfreaks.com/topic/112825-convert-windows-1252-to-utf-8/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.