-
Urgent !!! How do I get actual character value for a Unicode
Hi,
I'm getting Unicode/Ascii...values and I want to convert them to actual character
values...
for example..
65 -->which corresponds to 'A'... or
66 -->which corresponds to 'B' ..etc.
In Java, is there any function, which does this job of returning the actual
characters for the Unicode value ?? (In C/C++ itoa() function does this work).
Thanks in Advance,
cvshah
-
Re: Urgent !!! How do I get actual character value for a Unicode
No, there's no such function. You just cast them.
char unicode = 'A';
int equivalent = (int)unicode;
PC2
"cvshah" <chintu_shah@yahoo.com> wrote in message
news:3b238244$1@news.devx.com...
>
> Hi,
>
> I'm getting Unicode/Ascii...values and I want to convert them to actual
character
> values...
>
> for example..
> 65 -->which corresponds to 'A'... or
> 66 -->which corresponds to 'B' ..etc.
>
> In Java, is there any function, which does this job of returning the
actual
> characters for the Unicode value ?? (In C/C++ itoa() function does this
work).
>
> Thanks in Advance,
> cvshah
>
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks