1

i have string which contains characters like

Trà Hoa Việt

the want to Convert like this

Trà Hoa Việt

already tried by php

iconv("UTF-8", "ISO-8859-1//IGNORE", "Trà Hoa Việt")

but unable to remove the and get original format that i wanted. please help in this

Thank you.

Harman
  • 539
  • 5
  • 16
  • 1
    You have to give us more information about the origin of the byte sequence and the medium that displays the string. – VolkerK Jan 07 '15 at 15:34
  • Thank you Volker for quick comment , Actually this string is store in database just this is case , i tried some online site to convert it to utf8 they convert this one perfectly as i needed , but not known how to do in php. – Harman Jan 07 '15 at 15:38
  • 2
    really simple : http://php.net/manual/en/function.utf8-encode.php – Alex Jan 07 '15 at 15:39
  • 3
    Charset from DB juggling issue probably, "canonical" answer here : http://stackoverflow.com/questions/279170/utf-8-all-the-way-through – CD001 Jan 07 '15 at 15:39
  • And even if you don't want to/can't use utf-8 this thread treats all necessary steps and stages involved. – VolkerK Jan 07 '15 at 16:13

0 Answers0