garry27 Posted November 30, 2010 Share Posted November 30, 2010 I'm having trouble with a few pages on xcart with the charsets. The problem we're having is that we need to have both utf-8 and iso type charsets as we're getting garbled code on some pages. What I can do is set the utf-8 on all pages and then encode the garbled code into utf-8. Is there a function that does this in PHP or any modules I can use? Thanks Quote Link to comment Share on other sites More sharing options...
garry27 Posted November 30, 2010 Author Share Posted November 30, 2010 any ideas pls Quote Link to comment Share on other sites More sharing options...
requinix Posted November 30, 2010 Share Posted November 30, 2010 Without knowing more about where the character encodings are defined and when you want to do the recoding, the mbstring and iconv extensions can both convert between text encodings - the former being a bit more reliable (IMO) than the latter. Quote Link to comment 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.