Solved

Unicode Character Entry Using ALT Codes

Posted on 2004-04-28
10
4,433 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
DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

 

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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
How can I split the array as 4 rows per line? 5 79
Drop down button NAMES disappear 1 61
reset email that plugins send alerts to 1 35
Standard for Web Development 3 27
Problem to be resolved in this article Currently, development of website and web application can be done without writing thousands of lines of programming code by hand. Description This can be done through by using a open source framework such …
Any business that wants to seriously grow needs to keep the needs and desires of an international audience of their websites in mind. Making a website friendly to international users isn’t prohibitively expensive and can provide an incredible return…
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.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

911 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

21 Experts available now in Live!

Get 1:1 Help Now