Hardware code page: Difference between revisions

Content deleted Content added
Line 7:
 
==Support in operating systems==
When operating systems initialize their codepage switching logic, they need to know but have no means to determine the previously active hardware code page by themselves. Therefore, for codepage switching to work correctly, the hardware code page needs to be specified.<ref name="Paul_2001_CPSwitchFD"/><ref name="Caldera_1998_USER"/><ref name="Paul_1997_NWDOSTIP"/><ref name="Paul_2001_NWDOSTIP"/>
 
Under [[DOS]] and [[Windows 9x]] this is accomplished by specifying the hardware codepage as a parameter (hwcp) to the [[device driver]]s [[DISPLAY.SYS]] and [[PRINTER.SYS]] (hwcp) in [[CONFIG.SYS]]:
 
: <tt>[[DEVICE (CONFIG.SYS directive)|DEVICE]]=...\DISPLAY.SYS CON=(type,hwcp,n|(n,m))</tt><ref name="Paul_2001_CPSwitchFD"/><ref name="Caldera_1998_USER"/><ref name="Paul_1997_NWDOSTIP"/><ref name="Paul_2001_NWDOSTIP"/>