470,636 Members | 1,516 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,636 developers. It's quick & easy.

Display EUC-Encoded field on Access 2007?

Hello!

What is the best way to display a EUC-encoded field with Access 2007?
Or, failing that, how do you display a Unicode field as the character
instead of the number? Do I need to use a browser control? I have
created a local web page which successfully displays a Unicode
character when I bring it up using a standard browser, but so far I
haven't been able to figure out how to get the WebBrowser control to
navigate to the page - it doesn't seem to have a "navigate" method.
If I can get that working, then I can find or write a method to
convert from EUC to Unicode.

Thanks!

Jack B. Nimble
Feb 9 '08 #1
1 2413
Good news!

The solution seems to be the following:

1) Convert the EUC code to Unicode values using the standard decoding
(I still have to find/write that code)

2) Once you have the Unicode, convert it to a long using a statement
like this:
lngUnicode = CLng("&H" & Trim(Me![Unicode]))

3) Use ChrW function to display it as (wide? as in double-byte?) a
unicode charachter.

Me![txtDisplayUnicodeAsChar] = ChrW(lngUnicode)

4) Make sure the display field uses a font which includes the
characters you want (e.g. MS Mincho for Japanese)

Jack B. Nimble

On Feb 9, 3:25 pm, jackbenimble...@gmail.com wrote:
Hello!

What is the best way to display a EUC-encoded field with Access 2007?
Or, failing that, how do you display a Unicode field as the character
instead of the number? Do I need to use a browser control? I have
created a local web page which successfully displays a Unicode
character when I bring it up using a standard browser, but so far I
haven't been able to figure out how to get the WebBrowser control to
navigate to the page - it doesn't seem to have a "navigate" method.
If I can get that working, then I can find or write a method to
convert from EUC to Unicode.

Thanks!

Jack B. Nimble
Feb 9 '08 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by kimpyungsoo | last post: by
3 posts views Thread by shreddie | last post: by
7 posts views Thread by Stefan Finzel | last post: by
reply views Thread by Ferry Boender | last post: by
1 post views Thread by Korara | last post: by
???
reply views Thread by Stoney L | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.