Jump to content


Photo

encode strings to simple alpha


  • Please log in to reply
1 reply to this topic

#1 johnnyk

johnnyk
  • Members
  • PipPipPip
  • Advanced Member
  • 126 posts

Posted 27 February 2006 - 02:36 AM

I'm running a script and sometimes it returns stuff like

8-4 BC/BCE – 29-36 AD/CE when it should echo 8-4 BC/BCE – 29-36 AD/CE

and

Móshe (מֹש×?Ö¶× when it should echo מֹשֶׁה

is there a function or anything that will convert the string either to simple letters or to what it should be? The stuff before "when it should echo" is what the script actually echoes, the stuff after is what the text looks like before it reaches the script (the script is reading other files). Or is it just a problem with my page encoding?
Rediscover the Web:
<a href="http://www.spreadfir...;t=219"></a><br />

#2 phorman

phorman
  • Members
  • PipPipPip
  • Advanced Member
  • 49 posts

Posted 18 May 2008 - 10:13 AM

verify the page encoding your using, and also your database encoding if this is coming from a database.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users