Forum Moderators: coopster

Message Too Old, No Replies

mb_convert_encoding

         

rabbit_fufu

2:21 am on Apr 14, 2004 (gmt 0)

10+ Year Member



Hi Guys, hoping someone here might be able to help me out.

It looks as though my ISP doesn't have mbstring installed. This is a problem because I make use of the mb_convert_encoding function in my scripts, like so...

mb_convert_encoding($string, 'UTF-8','ISO-8859-1');

and also vice versa.

So what I'd like to do is come up with some sort of a workaround. Trouble is, I don't really have a very good understanding of what is happening here in the conversion between charsets. I figure it probably should be a fairly easy funciton to emulate with a preg_replace or two, but I only have a vague idea of what actually needs to be replaced... If any of you are experts in this sort of thing and could give me a nudge in the right direction I'd be deeply appreciative. Thanks!

WhosAWhata

2:23 am on Apr 14, 2004 (gmt 0)

10+ Year Member



does your host disallow the installation of PHP libs?

rabbit_fufu

3:10 pm on Apr 14, 2004 (gmt 0)

10+ Year Member



yep, so unfortuneately I'm stuck with fairly basic php