VB unicode? 
Author Message
 VB unicode?

Simple question:

Is it possible to write a VB appln that all controls work with Unicode using
WIN2K?

Therefore, the appln can be independent of the codepage of the Windows,
assuming the required language files are installed.  It is similar to the
Unicode web page that can be displayed correctly regardless of the language
of the Windows.

For example, if I build appln for Asian country, the control text output and
input use the ANSI binary bytes that match with the OS codepage so that the
correct font can be displayed.  That is, the appln must install on OS with
exactly matched language.

Any suggestions?

Thks
James



Mon, 08 Sep 2003 12:36:33 GMT  
 VB unicode?
Yes and no.

VB's forms and intrinsic controls are ANSI, plus its API declares and file
i/o and some of the functions under the intrinsic library calls are also
ANSI. So it takes a lot of extra work to make a pure Unicode app.

You can actually look at the chapter from my book that talks about this
question, its avaiable for free on the web (check out the link below).

--
MichKa

the only book on internationalization in VB at
http://www.i18nWithVB.com/


Quote:
> Simple question:

> Is it possible to write a VB appln that all controls work with Unicode
using
> WIN2K?

> Therefore, the appln can be independent of the codepage of the Windows,
> assuming the required language files are installed.  It is similar to the
> Unicode web page that can be displayed correctly regardless of the
language
> of the Windows.

> For example, if I build appln for Asian country, the control text output
and
> input use the ANSI binary bytes that match with the OS codepage so that
the
> correct font can be displayed.  That is, the appln must install on OS with
> exactly matched language.

> Any suggestions?

> Thks
> James



Mon, 08 Sep 2003 13:16:11 GMT  
 VB unicode?
I have done a lot of tests on this feature and found a Knowledge Base
on MSDN that said all standard controls (default set) in VB is ANSI, they
can not
display DBCS . We can use MS Form 2.0 controls to display DBCS
and unicode.

For example, if you want to show japanese characters in your
appl developed with VB, you must use a japanese OS version
(Win2K in my test). Otherwise, you can use some 3rd party controls
like SmartIU control, Videosoft FlexGrid (unicode) with japanese fonts
installed on the machine.

Hope this help


Quote:
> Simple question:

> Is it possible to write a VB appln that all controls work with Unicode
using
> WIN2K?

> Therefore, the appln can be independent of the codepage of the Windows,
> assuming the required language files are installed.  It is similar to the
> Unicode web page that can be displayed correctly regardless of the
language
> of the Windows.

> For example, if I build appln for Asian country, the control text output
and
> input use the ANSI binary bytes that match with the OS codepage so that
the
> correct font can be displayed.  That is, the appln must install on OS with
> exactly matched language.

> Any suggestions?

> Thks
> James



Wed, 10 Sep 2003 05:14:19 GMT  
 VB unicode?
Well, Forms 2.0 will crash on non-DBCS machines when you try to type in DBCS
data via the IME. Makes them a lot less interesting to use (even though you
can use the latest Office version to correct this problem).

--
MichKa

the only book on internationalization in VB at
http://www.i18nWithVB.com/


Quote:
> I have done a lot of tests on this feature and found a Knowledge Base
> on MSDN that said all standard controls (default set) in VB is ANSI, they
> can not
> display DBCS . We can use MS Form 2.0 controls to display DBCS
> and unicode.

> For example, if you want to show japanese characters in your
> appl developed with VB, you must use a japanese OS version
> (Win2K in my test). Otherwise, you can use some 3rd party controls
> like SmartIU control, Videosoft FlexGrid (unicode) with japanese fonts
> installed on the machine.

> Hope this help



> > Simple question:

> > Is it possible to write a VB appln that all controls work with Unicode
> using
> > WIN2K?

> > Therefore, the appln can be independent of the codepage of the Windows,
> > assuming the required language files are installed.  It is similar to
the
> > Unicode web page that can be displayed correctly regardless of the
> language
> > of the Windows.

> > For example, if I build appln for Asian country, the control text output
> and
> > input use the ANSI binary bytes that match with the OS codepage so that
> the
> > correct font can be displayed.  That is, the appln must install on OS
with
> > exactly matched language.

> > Any suggestions?

> > Thks
> > James



Wed, 10 Sep 2003 08:06:31 GMT  
 VB unicode?
If I use VC++, can I build a fully Unicode compliant program? and
independent of the OS codepage?

James



Quote:
> Well, Forms 2.0 will crash on non-DBCS machines when you try to type in
DBCS
> data via the IME. Makes them a lot less interesting to use (even though
you
> can use the latest Office version to correct this problem).

> --
> MichKa

> the only book on internationalization in VB at
> http://www.i18nWithVB.com/



Fri, 12 Sep 2003 11:16:20 GMT  
 VB unicode?
Yes, and No.

Masato Nakai
DBSoft


Quote:
> If I use VC++, can I build a fully Unicode compliant program? and
> independent of the OS codepage?

> James


wrote

> > Well, Forms 2.0 will crash on non-DBCS machines when you try to type in
> DBCS
> > data via the IME. Makes them a lot less interesting to use (even though
> you
> > can use the latest Office version to correct this problem).

> > --
> > MichKa

> > the only book on internationalization in VB at
> > http://www.i18nWithVB.com/



Fri, 12 Sep 2003 14:20:06 GMT  
 VB unicode?
Yes.

But if you need to support Win9x as well, it is much tougher (since most of
the Win32 API does not support the Unicode versions of functions).

--
MichKa

the only book on internationalization in VB at
http://www.i18nWithVB.com/


Quote:
> If I use VC++, can I build a fully Unicode compliant program? and
> independent of the OS codepage?

> James


wrote

> > Well, Forms 2.0 will crash on non-DBCS machines when you try to type in
> DBCS
> > data via the IME. Makes them a lot less interesting to use (even though
> you
> > can use the latest Office version to correct this problem).

> > --
> > MichKa

> > the only book on internationalization in VB at
> > http://www.i18nWithVB.com/



Fri, 12 Sep 2003 22:51:46 GMT  
 
 [ 7 post ] 

 Relevant Pages 

1. how to vb + unicode + SQLExecDirectW = MsSql.nchar

2. So is VB unicode or not????

3. VB: Unicode supported Textbox-Control

4. VB Unicode ADO and Oracle problems

5. VB - Unicode and Oracle Stored Procedures........Help

6. VB unicode?

7. VB unicode?

8. VC++ returning BSTR to VB - Unicode problem

9. Unicode string to unicode coded string?

10. Scripting unicode & non-unicode text files

11. Help with converting Windows Unicode (UCS-2) to Oracle Unicode (UTF-8) via ADO

12. Convert UTF-16 Unicode to UTF-8 Unicode?

 

 
Powered by phpBB® Forum Software