MSFN Forum: RICHED20.DLL compatibility - MSFN Forum

Jump to content


  • 3 Pages +
  • 1
  • 2
  • 3
  • You cannot start a new topic
  • You cannot reply to this topic

RICHED20.DLL compatibility Rate Topic: -----

#1 User is offline   Petr 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 981
  • Joined: 15-April 05
  • OS:98SE
  • Country: Country Flag

Posted 15 April 2006 - 12:30 PM

Some time ago I wrote here that Metapad has big problems with international characters because of problems in riched20.dll.

Now I have found that the same problems (not only in Metapad) can be solved on Windows XP by using newer versions of riched20.dll. These new versions have some unresolved dependencies in delay-loaded modules but I'm not sure if it is real problem - my short tests found none.

I have prepared package riched20.zip that contains four different versions of riched20.dll

5.30.23.1221 - Windows XP SP2 (this one is present in the uSP 2.1a)
5.30.23.1226 - Windows XP SP2 KB896430
5.40.11.2212 - Office XP SP3
5.50.99.2012 - Office 2003 KB900459

Please test the newer versions (5.40 and 5.50) if they break anything.

Or maybe anybody already did these tests?

In case of success I'd suggest to add the highest functional version into the next uSP.

Petr


#2 User is offline   bristols 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 451
  • Joined: 24-September 05
  • OS:none specified
  • Country: Country Flag

Posted 15 April 2006 - 02:39 PM

View PostPetr, on Apr 15 2006, 07:30 PM, said:

Please test the newer versions (5.40 and 5.50) if they break anything.

Or maybe anybody already did these tests?


Petr, MDGx's RICHED9X.EXE contains a later version of RICHED20.DLL than the SE SP - 5.31.23.1224:

Quote

Newest RICHED20.DLL that works with 9x/ME I'm aware of is 5.31.23.1224 from Win2003 SP1:
http://www.mdgx.com/ws3toy.htm#SP1
Available as unofficial RTF (RichEdit) fix for 95/98/ME:
http://www.mdgx.com/add.htm#RTF


http://www.msfn.org/...showtopic=61407

Apologies for using this quote if more recent information/files make it obsolete now. I don't know if MDGx tested the later versions of RICHED20.DLL that are in your package, and he seems pretty busy at the moment, so I'm not sure if he's available to give any further input regarding his testing.

I'll try out the two later versions (in 98 SE) and post back any findings.

#3 User is offline   Petr 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 981
  • Joined: 15-April 05
  • OS:98SE
  • Country: Country Flag

Posted 15 April 2006 - 03:25 PM

View Postbristols, on Apr 15 2006, 09:39 PM, said:

Petr, MDGx's RICHED9X.EXE contains a later version of RICHED20.DLL than the SE SP - 5.31.23.1224:


Thak you for reminding me that we already discussed this topic.

Version 5.31.23.1224 has the same problem as all known 5.30.x.x versions.

In short, "ě" and "č" letters (maybe more) cause switching to different font for all 5.3x.x.x versions so the problem I'm trying to rectify is specific to some languages only.

But the possible incomaptibility of 5.40 and 5.50 versions would be the same in all language versions I suppose.

I forgot to mention that riched20.dll is language independent so it could be tested in any language Windows version.

Petr

#4 User is offline   eidenk 

  • MSFN Addict
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1,527
  • Joined: 28-March 05

Posted 16 April 2006 - 12:10 AM

In which exact circumstances do the fonts switch ?

I haven't got any eastern european fonts but I never noticed any problem so far with the special accentuated characters of the western european fonts I am using (french, spanish, german characters etc).

Could you say what are the ASCII codes of those characters that create problems ?

I use riched20.dll 5.31.23.1224 and Riched32.dll 5.0.1461.82.

#5 User is offline   Petr 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 981
  • Joined: 15-April 05
  • OS:98SE
  • Country: Country Flag

Posted 16 April 2006 - 01:30 AM

View Posteidenk, on Apr 16 2006, 07:10 AM, said:

In which exact circumstances do the fonts switch ?

I haven't got any eastern european fonts but I never noticed any problem so far with the special accentuated characters of the western european fonts I am using (french, spanish, german characters etc).

Could you say what are the ASCII codes of those characters that create problems ?

I use riched20.dll 5.31.23.1224 and Riched32.dll 5.0.1461.82.


"č" is E8 (0232) in codepage 1250
"ě" is EC (0236) in codepage 1250

See also http://www.microsoft...nicode/1250.gif

I will do some additional tests and let you know.

Petr

#6 User is offline   eidenk 

  • MSFN Addict
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1,527
  • Joined: 28-March 05

Posted 16 April 2006 - 02:19 AM

View PostPetr, on Apr 16 2006, 01:30 AM, said:

"c" is E8 (0232) in codepage 1250
"e" is EC (0236) in codepage 1250

They are è and ì here and I have no probs with them on winME.

#7 User is offline   Petr 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 981
  • Joined: 15-April 05
  • OS:98SE
  • Country: Country Flag

Posted 16 April 2006 - 02:40 AM

So this is my test result - very briefly:

I have prepared simple table with all characters with 8th bit set, i.e. code 80 to FF in hex, or 128 to 255 in dec. They can be manually enterd as ALT+0128 to ALT+0255. The table can be downloaded here.

In Notepad, with default fixedsys font in 1250 codepage, everything is correct because it does not use riched20.dll:
Posted Image

In Metapad, with default fixedsys font in 1250 codepage and riched20.dll any version from 5.30.23.1200 to 5.31.23.1224, the display is broken significantly and at least 4 different fonts appear:
Posted Image

With riched20.dll 5.40.11.2212 (from Office XP SP3) everything look good, with exception of character AD (173), soft hyphen, that is not displayed at all. Maybe it is by design.
Posted Image

Surprisingly, riched20.dll version 5.50.99.2012 (from Office 2003) has the problem of 5.3x versions corrected only partially, just accented letters display correctly, but other signs (with code 132, 134, 135, 137, 149, 150, 151, 155, 161, 162, 178, 189, 255) change the font again.

I tried to set font to Courier - Western script and there are also font changes visible:
[Edit: it seems Metapad is too clever and always uses 1250 codepage (Central European) for displaying, even if 1252 (Western) is set. So I have renmoved the screenshot]

So if there will be no incompatibility with other applications, the best choice would be version 5.40.11.2212.

Petr

This post has been edited by Petr: 16 April 2006 - 02:51 AM


#8 User is offline   eidenk 

  • MSFN Addict
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1,527
  • Joined: 28-March 05

Posted 16 April 2006 - 03:46 AM

The sole problem I have here is that the editors using riched20.dll (5.31.23.1224 ) do not display character 173 at all with any font. Otherwise no particular problems with the fixedsys font.

Posted Image

Posted Image

How can I know if I am in 1250 codepage like you ?

Edit : I have just read your post and I will try to find the place where to change codepage.

Edit 2 : MS-DOS codepage 850 in MSConfig. Is that the one ?

This post has been edited by eidenk: 16 April 2006 - 03:58 AM


#9 User is offline   Petr 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 981
  • Joined: 15-April 05
  • OS:98SE
  • Country: Country Flag

Posted 16 April 2006 - 04:54 AM

View Posteidenk, on Apr 16 2006, 10:46 AM, said:

The sole problem I have here is that the editors using riched20.dll (5.31.23.1224 ) do not display character 173 at all with any font. Otherwise no particular problems with the fixedsys font.

How can I know if I am in 1250 codepage like you ?

Edit : I have just read your post and I will try to find the place where to change codepage.

Edit 2 : MS-DOS codepage 850 in MSConfig. Is that the one ?

Now I tried the same test on Windows 98 English and I have the same result as you - i.e. no problems.

Character 173 (soft hyphen) is displayed just with riched20.dll version 5.0.153.0, not with any newer version.

Codepage 1250 is native to some Windows 9x language versions, it cannot be changed because all system dialogs would become corrupted. Here: http://www.microsoft.com/globaldev/referen...sion.mspx#win98 you can find which language version has which ANSI and OEM codepage. (ANSI codepage is used in Windows and OEM codepage is used in DOS).

Petr

This post has been edited by Petr: 16 April 2006 - 04:55 AM


#10 User is offline   Petr 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 981
  • Joined: 15-April 05
  • OS:98SE
  • Country: Country Flag

Posted 16 April 2006 - 05:06 AM

BTW, I see differenet characters (CP1252) on Windows 98 English:

Posted Image

Code Pages Supported by Windows:
Windows Code Pages
OEM Code Pages
ISO Code Pages

Petr

#11 User is offline   eidenk 

  • MSFN Addict
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1,527
  • Joined: 28-March 05

Posted 16 April 2006 - 06:03 AM

I have tried now all the riched20.dll you have posted and I also have the problem with riched20.dll 5.50.99.2012 but not with any of the others.

Posted Image

#12 User is offline   Petr 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 981
  • Joined: 15-April 05
  • OS:98SE
  • Country: Country Flag

Posted 16 April 2006 - 06:53 AM

I'm still not sure why on your screenshots are displayed characters from 1250 codepage but some of them witout accents. Maybe because your browser has changed the encoding? I have packed the file into zip archive: table2.zip, please let me know if your screenshots are still the same.

Anyway, it looks like 5.40.11.2212 versions has no display problems on all systems, now it is necessary to know if it works well with all possible applications.

Petr

#13 User is offline   eidenk 

  • MSFN Addict
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1,527
  • Joined: 28-March 05

Posted 16 April 2006 - 08:00 AM

It does not do it with the new table. All the characters are properly accentuated.

Posted Image

I didn't pay too much attention to this because I had my own ASII table test file and everything was OK with it.

Posted Image

http://www.stashbox..../ASCIITable.txt

Riched20.dll 5.40.11.2212 has a non-existant dependency here, mso.dll. I guess it is a component of MS Office.

#14 User is offline   eidenk 

  • MSFN Addict
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1,527
  • Joined: 28-March 05

Posted 16 April 2006 - 08:23 AM

View Posteidenk, on Apr 16 2006, 06:03 AM, said:

I have tried now all the riched20.dll you have posted and I also have the problem with riched20.dll 5.50.99.2012 but not with any of the others.

Posted Image


What is funny here is that this lower and upper case accentuated Z do not normally display on my computer but Metapad displays them from your file.

#15 User is offline   Petr 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 981
  • Joined: 15-April 05
  • OS:98SE
  • Country: Country Flag

Posted 16 April 2006 - 08:27 AM

View Posteidenk, on Apr 16 2006, 03:00 PM, said:

It does not do it with the new table. All the characters are properly accentuated.

I didn't pay too much attention to this because I had my own ASII table test file and everything was OK with it.

Riched20.dll 5.40.11.2212 has a non-existant dependency here, mso.dll. I guess it is a component of MS Office.


The table is the same as the old one but maybe the character set was translated by the browser.

I wanted to have table with more characters per code to see if the font has changed or not.

The dependency to mso.dll is delay-load, maybe it is never used?. Yes, I already mentioned that it is from Office XP SP3.

Current SHLWAPI.DLL 6.00.2800.1740 (xpsp2.050831-1533) has also unresolved dependency to delay-loaded modules APPHELP.DLL (file missing), USERENV.DLL (file missing), OLE32.DLL (CoWaitForMultipleHandles missing), SHELL32.DLL (SHBindToParent missing) and everything seems to be OK.

Petr

#16 User is offline   eidenk 

  • MSFN Addict
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1,527
  • Joined: 28-March 05

Posted 16 April 2006 - 09:02 AM

View PostPetr, on Apr 16 2006, 08:27 AM, said:

Current SHLWAPI.DLL 6.00.2800.1740 (xpsp2.050831-1533) has also unresolved dependency to delay-loaded modules APPHELP.DLL (file missing), USERENV.DLL (file missing), OLE32.DLL (CoWaitForMultipleHandles missing), SHELL32.DLL (SHBindToParent missing) and everything seems to be OK.

Do you mean that all those files are in the 98SE uSP currently ?

#17 User is offline   Petr 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 981
  • Joined: 15-April 05
  • OS:98SE
  • Country: Country Flag

Posted 16 April 2006 - 09:08 AM

View Posteidenk, on Apr 16 2006, 04:02 PM, said:

View PostPetr, on Apr 16 2006, 08:27 AM, said:

Current SHLWAPI.DLL 6.00.2800.1740 (xpsp2.050831-1533) has also unresolved dependency to delay-loaded modules APPHELP.DLL (file missing), USERENV.DLL (file missing), OLE32.DLL (CoWaitForMultipleHandles missing), SHELL32.DLL (SHBindToParent missing) and everything seems to be OK.

Do you mean that all those files are in the 98SE uSP currently ?


I mean SHLWAPI.DLL that is a part of the April 2006 Security update IE6.0sp1-KB912812-Windows-98-ME-x86-ENU.exe. uSP is not resolving these dependencies.

Petr

#18 User is offline   eidenk 

  • MSFN Addict
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1,527
  • Joined: 28-March 05

Posted 16 April 2006 - 09:10 AM

Right but what about the other ones ?

#19 User is offline   Petr 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 981
  • Joined: 15-April 05
  • OS:98SE
  • Country: Country Flag

Posted 16 April 2006 - 10:25 AM

View Posteidenk, on Apr 16 2006, 04:10 PM, said:

Right but what about the other ones ?


Now I'm not sure what do you mean.

SHLWAPI.DLL was just an example of a DLL with unresolved delay-load dependencies, officialy made by Microsoft for Windows 98. I expressed my hope that also RICHED20.DLL with unresolved delay-load dependency could work.

Petr

#20 User is offline   bristols 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 451
  • Joined: 24-September 05
  • OS:none specified
  • Country: Country Flag

Posted 16 April 2006 - 11:07 AM

Using RICHED20.DLL build 5.40.11.22.12, I have the same Metapad result as you did Petr when you tried viewing your table in Windows 98 English (98 SE English here). So, "ě" and "č" don't appear for me in TABLE2.TXT.

This post has been edited by bristols: 16 April 2006 - 11:09 AM


Share this topic:


  • 3 Pages +
  • 1
  • 2
  • 3
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2013 msfn.org
Privacy Policy