Avatar of yballan
yballan
Flag for United States of America asked on

Japanese characters in PreviewWin

Dear Experts,
I have a piece of code that works on some PCs and not on others.  On mine and a few PCs the html code displays fine, but not on others.  They all show up as squares, but the alphabets are fine.  All these machines have Japan as region, with Japanese IME installed.
Some working ones are 32-bit and 64-bit, so I don't think that is the issue.  Below is the code, and I attached the html file I am trying to display.  Please advise.

Private Sub Command88_Click()

memoBlob = Me.Description

f = FreeFile
Open "c:\ECEditor\prvWin.html" For Output As #f
Print #f, memoBlob
Close #f

PauseTime = 0
start = Timer
Do While Timer < start + PauseTime                       ' a little pause
   DoEvents
Loop

DoCmd.OpenForm "previewWin", acNormal

End Sub
prvWin.html
Visual Basic ClassicMicrosoft AccessVBA

Avatar of undefined
Last Comment
yballan

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Jeffrey Coachman

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
yballan

ASKER
Dear Jeffrey,

Thank you, I already have my region set to be Japan, but I will contact them using your link.
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy