Alt code: Difference between revisions

Content deleted Content added
Windows: Change of code page would not affect existing documents, so needless potential confusion.
Tags: Mobile edit Mobile web edit Advanced mobile edit
m Reverted 1 edit by 37.39.179.168 (talk) to last revision by Spitzak
 
(2 intermediate revisions by 2 users not shown)
Line 20:
* The familiar {{key press|Alt}}+{{key press|#}}{{key press|#}}{{key press|#}} combination retains the old [[MS-DOS]] behavior, i.e., generates characters from the legacy code pages now called "[[Windows code page#OEM code page|OEM code pages]]".<ref name="WindowsAltAlgo" /> For instance {{key press|Alt}}+{{key press|1}}{{key press|6}}{{key press|3}} produces {{unichar|00fa}}. code point 163 in [[CP437]] or [[CP850]]. The "OEM code page" selection served little or no other purpose other than to control what Alt codes produced, if other code pages were selected then these numbers could produce different characters, but it did not change the display. It was impossible to type characters that were not in the Windows code page, such as box-drawing symbols.
 
* The new {{key press|Alt}}+{{key press|0}}{{key press|#}}{{key press|#}}{{key press|#}} combination (which prefixes a zero to each Alt code), produces characters from the newer "[[Windows code page#ANSI code page|ANSI code pages]]".{{efn|Microsoft acknowledged that "ANSI code pages" is a misnomer term and better name is "Windows code page".}}<ref name="WindowsAltAlgo">{{Cite web |date=2016-07-22 |title=To input characters that are not on your keyboard |url=http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/lang_char_code_input.mspx |url-status=dead |archive-url=https://web.archive.org/web/20160722031546/http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/lang_char_code_input.mspx?mfr=true |archive-date=2016-07-22 |access-date=2022-12-30 |website=Microsoft }}</ref> For instance {{key press|Alt}}+{{key press|0}}{{key press|1}}{{key press|6}}{{key press|3}} results in {{unichar|00a3}} (when [[CP1252]] is active, because it occupies position 163 in that code page). The active Windows code page could be changed by the userdifferent, which could change the effect of these Alt codes.
 
==Unicode==