Main > Forum > 1C:Enterprise Platform > 1C:Enterprise – Business applications platform > Vietnamese Standard Code for Information Interchange (VISCII)

Forum

Search UsersRules
Vietnamese Standard Code for Information Interchange (VISCII)
#1
Active user
Points:: 0
Joined:: Jul 19, 2016

Question: Is there a way to read text files in Vietnamese Standard Code for Information Interchange (VISCII) character set?
There is support for windows-1258 vietnamese codepage, but it seems like VISCII is different.

Profile
#2
Guest
Points::
Joined::

Hello, Alexey!

Unfortunately, I don't see this encoding in the list of supported encodings for text reader and text document.

Could you please attach an example file and a screenshot how should look data in this file, so I could try to find a way to convert it?

Profile
#3
Just came
Points:: 0
Joined:: Sep 16, 2016

Hi Alexey,

If you need to read text files in VISCII format, you must installs VISCII fonts to your computer.
You can download attchment file "VISCII fonts 01.zip", and follow these steps:
1. unzip files.
2. coppy all font files to folder "c:\Windows\Fonts" in your computer.
3. When you open text files in VISCII format, you need choise font with prefix "VI". For example:  "VI Times".
All will be done!

Profile
#4
Active user
Points:: 0
Joined:: Jul 19, 2016

Quote
Could you please attach an example file and a screenshot how should look data in this file,
Unfortunately, this is private data, so I cannot share it. Anyway, thank you for the reply!

Quote
If you need to read text files in VISCII format, you must installs VISCII fonts to your computer.
Mr. Ha, thank you very much for your reply! However, fonts don't make possible to read data by 1C:Enterprise from files or from ODBC source. Anyway, thank you very much for your help!

Profile
#5
Active user
Points:: 0
Joined:: Nov 3, 2011

Alexey, it looks like you haven't solved the problem yet. If you still need help, can you make us a small example file without any private data? Just a couple of lines will do (and of course a screenshot that shows this text in the right encoding).

Profile
#6
Just came
Points:: 0
Joined:: Sep 16, 2016

Hi Alexey,

If you make all right as my recomment, then fonts will work with data from ODBC source or from reading files.
I show you my test result, i have connecting form MSSQL by ExternalDataSource.
Please see in attachment.

Profile
#7
Active user
Points:: 0
Joined:: Jul 19, 2016

Mr Ha thanks a lot! Now the text from odbc data source looks better, but still wrong, probably it is not VISCII character set at all:

Profile
#8
Active user
Points:: 0
Joined:: Jul 19, 2016

Quote
Just a couple of lines will do (and of course a screenshot that shows this text in the right encoding).

Now I am reading data not from txt file but from odbc source, so the text converter will not help. But probably I can do something with odbc driver or fonts (as Mr. Ha suggested)? Thanks!

Profile
#9
Active user
Points:: 0
Joined:: Nov 3, 2011

Alexey, we're investigating this.

Profile
#10
Active user
Points:: 0
Joined:: Nov 3, 2011

Alexey,

it might or might not be VISCII. Could you please provide the following info for further investigation?

- a sample database with a small text fragment that is displayed incorrectly ('Nguen Ba Tam' will do), the font that you use, and the configuration that displays the text

- Windows settings: the system locale and the language for non-Unicode programs

Thanks for your patience!

Profile
#11
Active user
Points:: 0
Joined:: Jul 19, 2016

Quote
- a sample database with a small text fragment that is displayed incorrectly ('Nguen Ba Tam' will do), the font that you use, and the configuration that displays the text

Test configuration and example database with vietnamese text are in attached file test.zip.

You can see the problem in the report VietTextTest.
used font in the report: VI Arial

Quote
- Windows settings: the system locale and the language for non-Unicode programs

The system locale: Vietnamese(Vietnam)
language for non-Unicode programs: It seems like in Win10 it is the same as locale option.

Profile
#12
Active user
Points:: 0
Joined:: Jul 19, 2016

Some Vietnamese fonts in attachment.

Profile
#13
Just came
Points:: 0
Joined:: Sep 16, 2016

Hi Alexey,

Now i know what is problem. FontText of VietText in your case is not VISCII, it's VNTime font.
Please use the fonts i have attach for you. You need use .VnTime font. Please see following detail.

Profile
#14
Active user
Points:: 0
Joined:: Jul 19, 2016

Mr. Ha, thank you very much for your help! The problem is solved. With VnArial font the text looks right.

Profile
Subscribe
Users browsing this topic (guests: 1, registered: 0, hidden: 0)



© 1C LLC. All rights reserved
1C Company respects the privacy of our customers and visitors
to our Web-site.