represent-map icon indicating copy to clipboard operation
represent-map copied to clipboard

Encoding for Vietnamese Characters

Open jobnomade opened this issue 12 years ago • 3 comments

Hi guys,

I am working on represent.vn and came to the issue that the address are not properly encoded when ADDING, EDITING the places.

When INSERTing the address with Vietnamese chars I added _utf8'$address' (file add.php).

However when reading/editing the places I still have an encoding issue. Example: In the DB I have the correct encoding as followed 466/4 Lê Quang Định, 11, Binh Thanh District, Ho Chi Minh City, Vietnam

When I want to edit I got this: 55/14 Tran Van Dang, Phuong 9, quan 3, Thành phố Hồ Chí Minh, Vietnam

What can we do to solve this?

jobnomade avatar Oct 01 '13 21:10 jobnomade

I found out that the admin/header.php is missing <meta charset="UTF-8"> which causes character issue in the edit view. Let me know if you need a fix for this, so I can send the changed files.

jobnomade avatar Oct 01 '13 21:10 jobnomade

Nice! Thnx for that. Can you issue a pull request?

On Tue, Oct 1, 2013 at 2:16 PM, jobnomade [email protected] wrote:

I found out that the admin/header.php is missing which causes character issue in the edit view. Let me know if you need a fix for this, so I can send the changed files.

— Reply to this email directly or view it on GitHubhttps://github.com/abenzer/represent-map/issues/48#issuecomment-25490500 .

Alex Benzer CEO, SocialEngine @socialengine http://www.twitter.com/socialengine @abenzer http://www.twitter.com/abenzer

abenzer avatar Oct 01 '13 21:10 abenzer

I am pretty new to git and github, not sure how to do this. Let me figure it out.

2013/10/1 Alex Benzer [email protected]

Nice! Thnx for that. Can you issue a pull request?

On Tue, Oct 1, 2013 at 2:16 PM, jobnomade [email protected] wrote:

I found out that the admin/header.php is missing which causes character issue in the edit view. Let me know if you need a fix for this, so I can send the changed files.

— Reply to this email directly or view it on GitHub< https://github.com/abenzer/represent-map/issues/48#issuecomment-25490500> .

Alex Benzer CEO, SocialEngine @socialengine http://www.twitter.com/socialengine @abenzer http://www.twitter.com/abenzer

— Reply to this email directly or view it on GitHubhttps://github.com/abenzer/represent-map/issues/48#issuecomment-25490852 .

jobnomade avatar Oct 02 '13 21:10 jobnomade