VB6文本在一个EXE中显示为乱码,但在另一个EXE中显示为希伯来语 [英] VB6 text appears as gibberish in one EXE but Hebrew in another

查看:246
本文介绍了VB6文本在一个EXE中显示为乱码,但在另一个EXE中显示为希伯来语的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个奇怪的问题和VB6的最低限度的知识,



我有一个EXE文件,从文本文件中获取文本(用于按钮字幕)。

这个我没有代码的EXE会显示所有希伯来文的文本。



我已经构建了另一个EXE文件(与之前相同)和所有的功能正在工作,但它表现出所有的希伯来语为Gibberish !!



我的文本文件编码是Unicode。



帮我?是否有vb6 exe的编码?

解决方案

解决这个问题的完美解决方案是将font.Charset更改为177 HEBREW_CHARSET。

例如:

  Text1.Font.Charset = 177 

http://www.example-code.com/vb/vb6-display-unicode.asp


I have strange problem and minimal knowledge on VB6,

I got an EXE file that takes text (for button captions) from a text file.
This EXE which I don't has it code present all Hebrew text correctly.

I have build another EXE file (Identical to the previous) and all the functionally is working but it present all Hebrew as Gibberish!!

my text file encoding is Unicode.

Can you help me? Is there encoding for vb6 exe?

解决方案

the perfect solution to resolve this issue is to change the font.Charset to 177 that represent HEBREW_CHARSET.
For example:

Text1.Font.Charset = 177

http://www.example-code.com/vb/vb6-display-unicode.asp

这篇关于VB6文本在一个EXE中显示为乱码,但在另一个EXE中显示为希伯来语的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆