A Windows XP help forum. PCbanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » PCbanter forum » Microsoft Windows XP » General XP issues or comments
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Confused about character generation using ALT+numpad keys



 
 
Thread Tools Display Modes
  #1  
Old December 13th 16, 02:38 PM posted to microsoft.public.windowsxp.general
JJ[_11_]
external usenet poster
 
Posts: 744
Default Confused about character generation using ALT+numpad keys

I've read the Microsoft site's Glossary page:

https://msdn.microsoft.com/en-us/goglobal/bb964658.aspx

It describe three ways of entering character codes:

Quote:
Alt+Numpad: A method of entering characters by typing in the character’s
decimal code with the Numeric Pad keys (Num Lock turned on). In Windows:

Alt+xxx, where xxx is the decimal value of a code point, generates an
OEM-encoded character.

Alt+0xxx, where xxx is the decimal value of a code point, generates a
Windows-encoded character.

Alt+++xxxx, where xxxx is the hexadecimal Unicode code point,
generates a Unicode-encoded (UTF-16) character.
What I can conclude is that on first method, the character code refers to
the raw character byte code, which is identical to the code stored in
memory/disk. The second method's character code refers to the ANSI
character-set code. And the third method's character code refers to the
Unicode character-set code. Both character codes of the second and third
methods may not be identical to the raw character data stored in
memory/disk.

However, it seems that the third method never work. I've tested this on
Notepad - trying to generate the "Æ’" which is U+0192 (decimal 402);
Western-ANSI=0x83 (decimal 159); OEM=0x9F (decimal 131). Method #1 (OEM)
works: ALT+159. Method #2 (ANSI) works: ALT+0131. But method #3 (Unicode)
doesn't work: ALT+++402. Did I use method #3 incorrectly?
Ads
  #2  
Old December 13th 16, 05:24 PM posted to microsoft.public.windowsxp.general
pyotr filipivich
external usenet poster
 
Posts: 752
Default Confused about character generation using ALT+numpad keys

JJ on Tue, 13 Dec 2016 21:38:44 +0700 typed in
microsoft.public.windowsxp.general the following:
I've read the Microsoft site's Glossary page:

https://msdn.microsoft.com/en-us/goglobal/bb964658.aspx

It describe three ways of entering character codes:

Quote:
Alt+Numpad: A method of entering characters by typing in the character’s
decimal code with the Numeric Pad keys (Num Lock turned on). In Windows:

Alt+xxx, where xxx is the decimal value of a code point, generates an
OEM-encoded character.

Alt+0xxx, where xxx is the decimal value of a code point, generates a
Windows-encoded character.

Alt+++xxxx, where xxxx is the hexadecimal Unicode code point,
generates a Unicode-encoded (UTF-16) character.

What I can conclude is that on first method, the character code refers to
the raw character byte code, which is identical to the code stored in
memory/disk. The second method's character code refers to the ANSI
character-set code. And the third method's character code refers to the
Unicode character-set code. Both character codes of the second and third
methods may not be identical to the raw character data stored in
memory/disk.

However, it seems that the third method never work. I've tested this on
Notepad - trying to generate the "ƒ" which is U+0192 (decimal 402);
Western-ANSI=0x83 (decimal 159); OEM=0x9F (decimal 131). Method #1 (OEM)
works: ALT+159. Method #2 (ANSI) works: ALT+0131. But method #3 (Unicode)
doesn't work: ALT+++402. Did I use method #3 incorrectly?


Æ
ƒ

Hmmm - it may be that your software doesn't do allow it.

Ive a list of "alt+" special characters which do not work in
WordPerfect.
--
pyotr filipivich
Next month's Panel: Graft - Boon or blessing?
  #3  
Old December 13th 16, 11:40 PM posted to microsoft.public.windowsxp.general
JJ[_11_]
external usenet poster
 
Posts: 744
Default Confused about character generation using ALT+numpad keys

On Tue, 13 Dec 2016 09:24:17 -0800, pyotr filipivich wrote:

Hmmm - it may be that your software doesn't do allow it.


I've already tested it on Notepad. FYI, Notepad's multi-line edit control is
the least custom keyboard shortcuts polluted than Wordpad. The edit controls
on Notepad's Find/Replace dialogs are the clean ones since pressing F5 won't
generate the current date & time, and even in those edit controls method #3
doesn't work.

Ive a list of "alt+" special characters which do not work in
WordPerfect.


I do notice that although I'm not sure we're referring to the same
collection of characters.
  #4  
Old December 14th 16, 03:02 AM posted to microsoft.public.windowsxp.general
pyotr filipivich
external usenet poster
 
Posts: 752
Default Confused about character generation using ALT+numpad keys

JJ on Wed, 14 Dec 2016 06:40:21 +0700 typed in
microsoft.public.windowsxp.general the following:
On Tue, 13 Dec 2016 09:24:17 -0800, pyotr filipivich wrote:

Hmmm - it may be that your software doesn't do allow it.


I've already tested it on Notepad. FYI, Notepad's multi-line edit control is
the least custom keyboard shortcuts polluted than Wordpad. The edit controls
on Notepad's Find/Replace dialogs are the clean ones since pressing F5 won't
generate the current date & time, and even in those edit controls method #3
doesn't work.

Ive a list of "alt+" special characters which do not work in
WordPerfect.


I do notice that although I'm not sure we're referring to the same
collection of characters.


Who knows? I suspect it is a software issue, and I wasn't
inclined to go dig it out and look. (WP has its own means to insert
Special Characters, which can be a blast in its own right.)

To use an old expression "I don't have a wombat in this zoo" so it
doesn't matter, to me.
--
pyotr filipivich
Next month's Panel: Graft - Boon or blessing?
  #5  
Old December 14th 16, 11:44 AM posted to microsoft.public.windowsxp.general
J. P. Gilliver (John)
external usenet poster
 
Posts: 5,291
Default Confused about character generation using ALT+numpad keys

[]
JJ on Tue, 13 Dec 2016 21:38:44 +0700 typed in
microsoft.public.windowsxp.general the following:
I've read the Microsoft site's Glossary page:

https://msdn.microsoft.com/en-us/goglobal/bb964658.aspx

It describe three ways of entering character codes:

[quote]
Alt+Numpad: A method of entering characters by typing in the character’s
decimal code with the Numeric Pad keys (Num Lock turned on). In Windows:

[]
Prompted into it by having a netbook whose keyboard doesn't _have_ a
numeric keypad (like most such, you can get one using the 7890uiopjkl;m/
- or similar - keys, but using the Alt+ method of entering characters
that way is one way to madness), I've looked for alternatives. The best
one I've found so far is allchars - http://allchars.zwolnet.com/; unlike
many other prog.s, it doesn't involve _simultaneous_ keypresses, which
means it's _unlikely_ to interfere with the shortcuts used by other
software. You tap _and release_ the Ctrl key, followed by a couple of
keys relating to the character you want. Although I prided myself (sad)
on knowing the Alt+numeric codes for various characters I use a lot
(such as ±, ×, μ, degrees, ...), I've actually found the AllChars
sequences easier to remember for more characters, so tend to use them
more (they're actually fewer keypresses anyway): they've designed them
well, IMO - for example:
ctrl then + then - generates ±
ctrl then x then x generates ×
ctrl then ' then e generates é
ctrl then " then o generates ö
and many others. (If those don't display OK as you're reading this post,
I think you can guess what they generate.)
--
J. P. Gilliver. UMRA: 1960/1985 MB++G()AL-IS-Ch++(p)Ar@T+H+Sh0!:`)DNAf

"The people here are more educated and intelligent. Even stupid people in
Britain are smarter than Americans." Madonna, in RT 30 June-6July 2001 (page
32)
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off






All times are GMT +1. The time now is 05:58 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 PCbanter.
The comments are property of their posters.