Welcome Guest, Not a member yet? Register   Sign In
How to convert to unicode (UTF-8) the follow string?
#1

[eluser]cavi1905[/eluser]
Hello everybody,

I have a problem about unicode. I need a function PHP to convert the string
Code:
"Ca sĩ: Cẩm Ly"
to "Ca sĩ: Cẩm Ly" (It's vietnamese).

Can everybody help me...? Please!

Thanks!
#2

[eluser]pistolPete[/eluser]
Have a look at html_entity_decode().
#3

[eluser]verynewtothis[/eluser]
utf8_decode
#4

[eluser]cavi1905[/eluser]
I'd try to use that functions, but the problem isn't still resolved... Other way? Thanks!
#5

[eluser]pistolPete[/eluser]
[quote author="cavi1905" date="1251374550"]... but the problem isn't still resolved...[/quote]
Why don't you describe the error you are facing? What's the output if you use html_entity_decode() ?
Did you enable UTF-8 output correctly? Read http://ellislab.com/forums/viewthread/126518/




Theme © iAndrew 2016 - Forum software by © MyBB