Link to home
Start Free TrialLog in
Avatar of yballan
yballanFlag 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
ASKER CERTIFIED SOLUTION
Avatar of Jeffrey Coachman
Jeffrey Coachman
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of yballan

ASKER

Dear Jeffrey,

Thank you, I already have my region set to be Japan, but I will contact them using your link.