PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
(its some greek text) into normal text?
They show normall on the browser but when saved on a database or anywhere else including in html source they look like this
the problems is that i use xcart (php e-shop software) and it saves ALL the Greek texts like this. I will write a script that converts them all to normal but I need your help on how to convert them
in text files/html source they will look like that because the char set is limited. Thats how they have to look there. You'll just have to view them in a page to see what they're supposed to look like.
sorry its just my bad English. I `ll try to explain it again
When I write e.g in Greek, its is saved in the xcart database as: (each letter is converted into a 5char code like &#xxx)
But when it is displayed in the browser its normal. Although if you check the html source its still coded.
So I need help on which function(s) I need to use in order to convert those codes into normal
You can't have it look normal in the HTML code because its limited to normal latin characters or something - outside of that you have to use either acsii or unicode codes - like you are doing
Like, go into ms word or something and go to insert->symbol and select one of those greek deals. then copy and paste it into notepad - see? notepad doesn't support it, word does. So edit your stuff in word (juuust kidding!) or get one that will show them!