-1

I have two text in utf-8, they should equal each other:

Nguyễn Hoàn Vy - ĐĐ

and

Nguyễn Hoàn Vy - ĐĐ

But when i change endcode in notepad++ to ANSI it show difference as below:

Nguyễn HoaÌ€n Vy - ÄÄ


Nguyá»…n Hoàn Vy - ÄÄ

It make problem when i process where like in the Mysql.

phaberest
  • 3,140
  • 3
  • 32
  • 40

1 Answers1

0

I run following query after connecting to database and all problems with utf-8 solve

"SET NAMES 'utf8'"
Majid Abbasi
  • 1,531
  • 3
  • 12
  • 22
  • I already used it. The problem come from end user's data. I typing in the form then Nguyễn Hoàn Vy - ĐĐ (UTF-8) and Nguyễn HoaÌ€n Vy - ÄÄ in ANSI. But when user copy data from their excel then i have Nguyễn Hoàn Vy - ĐĐ (UTF-8) and Nguyá»…n Hoà n Vy - ÄÄ in ANSI – Toan Dinh Duc Oct 07 '16 at 10:22