Microsoft product improvement suggestions
Markus Kuhn, Computer
Laboratory, University of Cambridge
Here is a list of the issues that I would most like Microsoft to
have a look at in their products, standards and conventions:
- The IBM PC Real Time Clock should run in UT.
- German/Dutch/etc. keyboard users
should be prevented from entering the spacing acute accent
(U+00B4) by any other means than deadacute+space, because too many
people accidentally use it as an apostrophe (as in "it´s").
- The keyboard input methods used by Word for entering directional quotation marks and other
typographic symbols not found on standard keyboards should be moved
from Word into the keyboard driver, such that all applications benefit
from them and users universally use typographically correct Unicode
symbols. The ASCII quotation mark, apostrophe, and hyphen-minus
characters should only be generated from keystrokes in a special ASCII
mode for writing source code, etc.
- Plain-text editors should not use the Unicode character U+000D
(carriage return). The use of this character to precede any occurrence
of U+000A (line feed) at the end of a line in a plain-text file is a
historic anachronism from the days of mechanical teletype machines and
serves no useful practical purpose today. POSIX operating systems,
including macOS, do not use this character. Continued use of this character
by Microsoft editors causes several unnecessary problems:
- Plain-text files have to be converted when transferred between a
Microsoft and non-Microsoft platform.
- The C programming language expects only the LF character as the
sole new-line symbol. Microsoft implementations of the standard C
library therefore have to add code to strip this character out of any
plain-text files, and it is necessary to specify an additional option
"b" (binary) in fopen() to disable this translation when processing
binary files. This adds unnecessary complexity and getting the "b"
option wrong is a common programming error that can corrupt binary
data. Microsoft should follow the much simpler and more robust POSIX
practice of not using CR, and removing any code for dealing with CR
from the standard C file I/O code, such that option "b" can be ignored
by fopen().
The following two proposals are perhaps slightly more controversial,
as they relate more to U.S. customary habits than to clear
engineering necessities, but discussion would be welcome:
- It would be wonderful if Microsoft could set the default numeric
date and time display format for the English (U.S.) language to the ISO 8601 format, to get the US population
finally used to the modern globally preferred 24h time-of-day notation
and to a sensible alternative for the confusing mixed-endian mm/dd/yy
date. Similarly, the use of inch-pound units in any form of software
should be phased out. If the U.S. wants to fully join globalisation,
its people will have to get used to globally accepted basic
conventions such as the metric system and the 00:00-23:59 time
notation. I like to think that a standards-setting industry leader
such as Microsoft has a responsibility to lead here and set a trend,
rather than just follow.
- For example, font sizes should be
selectable in millimeters. (Though, admittedly, this area could
do with a bit clearer standardization first, because the actual meaning
of the currently used point dimensions is largely undefined and used
inconsistently in different fonts.)
Please don't hesitate to contact me if you have any related information, ideas, questions
or suggestions.
Older issues
Just for the record, some older issues previously listed here that
no longer refer to current products:
There has been some progress on plain-text editing: since Windows 10
version 1809 (2018), Notepad reads and preserves LF-only (POSIX) line
endings, and since version 1903 (2019) it saves files as UTF-8 without
a byte order mark by default. Microsoft's Visual Studio Code editor
(2015) also uses UTF-8 without a byte order mark by default and keeps
the LF line endings of existing files. Since Windows 10 version 1803
(2018), users can make UTF-8 the system-wide "ANSI" code page (an
option labelled "Beta"), and since version 1903, applications can
individually request UTF-8 as their code page. And the HTML standard
now requires new documents to use UTF-8.
Markus Kuhn