vineld Posted March 4, 2010 Share Posted March 4, 2010 I am experiencing some character encoding problems. Our system is built in ISO-8859-1 for various reasons. Our database text fields are in our local version of latin-1. So far so good. However, when communicating with other servers we obviously need to send xml data in utf-8 which is where the problems start. What happens is this: 1. We have a page saved in ANSI 2. I fetch text from the database 3. I use utf8_encode(TEXT) 4. The above is sent via xml However, on the other side the receiver views the message with characters like 'ö' instead of the correct utf8 string. Where am I going wrong here? Link to comment https://forums.phpfreaks.com/topic/194115-character-encoding-problem/ Share on other sites More sharing options...
vineld Posted March 4, 2010 Author Share Posted March 4, 2010 Problem solved. Our soap client apparently didn't use UTF-8 as default... Link to comment https://forums.phpfreaks.com/topic/194115-character-encoding-problem/#findComment-1021347 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.