Encoding problem - change encoding?

Jubinell

Board Regular
Joined
Jan 17, 2008
Messages
166
Hi,

I'm using Excel 2007. I received a file from a client, it contains texts in the Vietnamese language. However when I open up the file it becomes gibberish (albeit still readable alphabetically).

Something like this:

chuyeân thieát keá gia coâng cheá taïo khuoân maãu vaø chi tieát maùy chính xaùc

should have been:
chuyên thiết kế gia công chế tạo khuôn mẫu và chi tiết máy chính xác.

I've been trying in vain to find a way to re-open this file with specifiable encoding options, but cannot find this function anywhere. Something like OpenOffice where you open and it asks you which encoding you want to open it in. Microsoft Word also asks sometimes if it sees something weird in the file.
 

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.
Hi Jubinell

Looking at your example it seems that the text you got is simply a text where you replace each vowel that has diacritics with 2 vowels, the second one also with a diacritic, but a common one in ansi tables.

eâ - ê
eá - ế
aã - ẫ

This is a simple procedure that allows you to write and read Vietnamese using the usual characters availabe in ansi tables.

I don't know Vietnamese, but if you received the document from a client this tells me that this must be some Vietnamese standard. This is used in other languages, to allow anyone to read a text with characters that are not common. For example in German, if you don't have the "ü" (the letter u with umlaut) you write instead "ue", like Bücher <-> Buecher.

In your case you just have to find the conversion table and use a simple vba procedure that replaces "eá" with "ế", "aã" wiht "ẫ", etc. Since you know Vietnamese it should not be difficult to find this table in the web.
 
Upvote 0
As usual your keen eye for Unicode data comes to the rescue. It turns out I've been away from the country for too long.

There's a font somewhat becoming obsolete in Vietnam called VNI-TIMES. With it the text renders correctly; without it you see the gibberish I posted above.

The solution is either to download and use that font, or to convert. I found one converting site:
http://convert.holvn.org/

Thank you once again.
 
Upvote 0

Forum statistics

Threads
1,214,649
Messages
6,120,732
Members
448,987
Latest member
marion_davis

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top