From: Tony Proctor on 7 Dec 2006 09:28 I've never any of those old systems. However, I have a feeling that Unicode support was an option that had to be applied to them. Maybe someone else can say whether that's true or not One suggestion: run a variation of that bit of code I provided on a file that just contains some of the problem characters. After the file contents have been loaded and converted to Unicode, print out their character codes, e.g. Private Sub Form_Load() Dim i As Integer, sFileBody As String ' Load the UTF-8 file body into a Unicode string variable sFileBody = ConvertUTF8File("utf.txt") ' Remove the leading Unicode marker from the body (i.e. the &HFEFF sequence) sFileBody = Mid$(sFileBody, 2) Debug.Print sFileBody ' Check a few character codes For i = 1 To Len(sFileBody) Debug.Print "char(" & CStr(i) & ") =" & Mid$(sFileBody,i,1) & "=" & CStr(AscW(Mid$(sFileBody,i,1))) Next i End Sub Then check what the difference is between your two systems Tony Proctor "MSK" <mannaikarthik(a)yahoo.com> wrote in message news:1165500744.407896.233300(a)79g2000cws.googlegroups.com... > Hi, > > I am facing some different issue now..Can you please clarify it ? > > As I said earlier I am developing some word templates , it has some > GUI, controsl in that GUI will be filled based on the config file, this > file will contain some welsh chars. These welsh texts have be placed in > the in body text of the template. > > Now everything is working fine in Office 2003 + XP. but I came to know > that some (reasonable number) users may access these templates from > their NT + Office 97 systems. > > So I tested these templates from a NT + Office 97 PC, these chars are > appearing as small square or box. > > Do you have any idea ? please pass on your thoughts on this > > Is it possible with NT + 97 ? > > Many Thanks. > > MSK. >
From: MSK on 7 Dec 2006 09:42
Hi, I am facing some different issue now..Can you please clarify it ? As I said earlier I am developing some word templates , it has some GUI, controsl in that GUI will be filled based on the config file, this file will contain some welsh chars. These welsh texts have be placed in the in body text of the template. Now everything is working fine in Office 2003 + XP. but I came to know that some (reasonable number) users may access these templates from their NT + Office 97 systems. So I tested these templates from a NT + Office 97 PC, these chars are appearing correctly in the Combobox but not in the Word body text and print out ,appearing liek small square or box. Do you have any idea ? please pass on your thoughts on this Is it possible with NT + 97 ? Many Thanks. MSK. |