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? Quote 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... Quote Link to comment https://forums.phpfreaks.com/topic/194115-character-encoding-problem/#findComment-1021347 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.