By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,301 Members | 1,366 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,301 IT Pros & Developers. It's quick & easy.

code pages query

P: n/a
Hi,
can somebody tell the importance of Hex values specified in code pages.
For ex say for code page 850
http://en.wikipedia.org/wiki/CP_850

If u see this code page, for extended char [ ] we have a decimal
equivalent of 210.
Now for this char Hex value specified if [ CA ], if we see this is not
an hex equivalent of 210. Then what is this hex value and wht is its
use in code page????
Wht I observe is for chars from decimal value 32 to 126, hex values
listed are equivalent of dec.
Why is this difference for extended chars.

Thanks in advance.
kaustubh

Oct 4 '06 #1
Share this Question
Share on Google+
2 Replies


P: n/a
ka**********@gmail.com writes:
>Hi,
can somebody tell the importance of Hex values specified in code pages.
For ex say for code page 850
http://en.wikipedia.org/wiki/CP_850
On that page the hex values just under the letters aren't meant to be
equal to the base 10 values that are below the hex values. As you say,
hex CA doesn't equal 210. I think you'll find that the hex values refer
to the Unicode character equivalents of the CP_850 characters. See
http://en.wikipedia.org/wiki/Unicode

Oct 4 '06 #2

P: n/a

Tim Love wrote:
ka**********@gmail.com writes:
Hi,
can somebody tell the importance of Hex values specified in code pages.
For ex say for code page 850
http://en.wikipedia.org/wiki/CP_850

On that page the hex values just under the letters aren't meant to be
equal to the base 10 values that are below the hex values. As you say,
hex CA doesn't equal 210. I think you'll find that the hex values refer
to the Unicode character equivalents of the CP_850 characters. See
http://en.wikipedia.org/wiki/Unicode

Thanks!!!
u r right, the hex values refer to the unicode code point values.
Here is a good site for char conversions
http://www.ltg.ed.ac.uk/~richard/utf...ut=CA&mode=hex

regards,
kaustubh

Oct 4 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.