Solved

Unicode Character Entry Using ALT Codes

Posted on 2004-04-28
10
4,428 Views
Last Modified: 2013-12-03
I have been trying to figure out why I cannot enter UNICODE characters correctly using the ALT Code.

The OS I am on is Windows XP Pro

I go the Character Map (Start>Programs>Accessories>System Tools>Character Map) and find the character I am trying to enter.

(&#8805;)  <-- That character should be the greater than Equal sign.

Now in the character map the unicode is 2265. In the lower left it shows U+2265

If I go to any app and try ALT-2265 I do not get the greater than equal sign I get ( &#9496;) <-- Should look like the lower right corner of a box.

What am I failing to understand?

Sean

0
Comment
Question by:Keyman
  • 5
  • 5
10 Comments
 
LVL 3

Expert Comment

by:bradleyland
ID: 10939156
A couple of notes. The Unicode offset is not the same as the Alt-code for special characters. The other issue is that if you want Unicode text to display in users' browsers, you must specify UTF-8 as your character set:

<meta http-equiv="Content-Type" content="text/html; charset=utf-8">

Once you have done this, you can use the Character Map application to copy the symbol you want to the clipboard and past it into your document. You should know, however, that if the person viewing your webpage does not have Unicode support on their computer, or if they have a different font than you, they may not see the page correctly. There is no HTML special character for the greater than or equal to sign that I know of.
0
 

Author Comment

by:Keyman
ID: 10939314
Ugh! I hate the blue fog!

I am at work and I cannot access the oldlook on port 8080 (blocked by firewall)

I somehow posted this in webdev.

This is not a web dev related problem. I am just trying to help some of my users when working in windows applications.


Sorry about that.

Sean

0
 
LVL 3

Expert Comment

by:bradleyland
ID: 10941176
Ah, well, that makes things much simpler. The Character Map application will show you the alt-code separately from the Unicode offset (if one exists). They are not the same. If you need that special character, you have to use the Character Map application or another program that maps commonly used special chars to different keystrokes.
0
 

Author Comment

by:Keyman
ID: 10942532
So there is no way to get a greater than equal to sign using an ALT XXXX ? (I realize the number shown in Character Map may not be used in an ALT XXXX sequence)

The only way is to go to character map? Or other third party app?


Sean
0
 
LVL 3

Accepted Solution

by:
bradleyland earned 50 total points
ID: 10943794
That's correct. Something like this app will probably help you out:

http://allchars.zwolnet.com/introduction.html

The Alt+XXXX is a relic of the ASCII text character sets. You'll notice that any key combination greater than Alt+0255 produces no output. This is because ASCII was limited to 255 characters.
0
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 

Author Comment

by:Keyman
ID: 10956345
Well actually I get output with numbers greater than 0255


Sean
0
 

Author Comment

by:Keyman
ID: 10959856
Oh well, I hate having open questions so I will just give you the points.

Sean

0
 
LVL 3

Expert Comment

by:bradleyland
ID: 10959861
That is indeed strange. Which combination greater than 0255 do you get output?

Did you try the AllChars app?
0
 

Author Comment

by:Keyman
ID: 10994566

For example ATL-1234 give a grid edge type charater (¨i)

It looks like this
     ___
      | |
0
 
LVL 3

Expert Comment

by:bradleyland
ID: 10998701
Those characters are part of extended ASCII. They used to be used back when applications were written to use ASCII characters to form graphical elements. Pre-windows.

http://www.cdrummond.qc.ca/cegep/informat/Professeurs/Alain/files/ascii.htm

... I should have my points stripped for this. I didn't realize that the signs you're looking for were on the extended ASCII chart. This means that they should be accesible through an alt code.

alt+1265 ± (plus equal to)
alt+1266 &#8805; (greater than or equal to)
alt+1267 &#8804; (less than or equal to)

There you have it. This will only work with fonts that A) have these characters, and B) are properly mapped. Some postscript fonts don't work with this method either. Most of the common fonts work just fine.
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
PHP foreach DB query 4 34
Select2 jquery help 9 45
Best Practice CSS floating images 2 16
get multiple images to align right 5 10
I've been asked to discuss some of the UX activities that I'm using with my team. Here I will share some details about how we approach UX projects.
"In order to have an organized way for empathy mapping, we rely on a psychological model and trying to model it in a simple way, so we will split the board to three section for each persona and a scenario and try to see what those personas would Do,…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now