Solved

Unicode Character Entry Using ALT Codes

Posted on 2004-04-28
10
4,451 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
How Do You Stack Up Against Your Peers?

With today’s modern enterprise so dependent on digital infrastructures, the impact of major incidents has increased dramatically. Grab the report now to gain insight into how your organization ranks against your peers and learn best-in-class strategies to resolve incidents.

 

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
 

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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Help in good tutorials for PHP, HTML and CSS 6 66
Error in Angular 2 when showing in grid 4 66
Getting robots.txt Error 9 56
ad on top left of youtube video 3 29
When it comes to write a Context Sensitive Help (an online help that is obtained from a specific point in state of software to provide help with that state) ,  first we need to make the file that contains all topics, which are given exclusive IDs. …
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
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…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

732 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