Re: Displaying Negative Unicode on the Web

From: Michael \(michka\) Kaplan (michka@trigeminal.com)
Date: Wed Nov 21 2001 - 13:17:11 EST


It is not actually a NEHATIVE Unicode value; it is a symptom of getting a
code point from a function like VB's AscW(), which returns a signed short
rather than an unsigned one.

To fix, you have to sign extend the number.

MichKa

Michael Kaplan
(principal developer of the MSLU)
Trigeminal Software, Inc. -- http://www.trigeminal.com/
the book -- http://www.i18nWithVB.com/

----- Original Message -----
From: "jen w" <sanskee@hotmail.com>
To: <unicode@unicode.org>
Sent: Wednesday, November 21, 2001 2:10 AM
Subject: Displaying Negative Unicode on the Web

> Hi,
>
> Can anyone help me with displaying negative unicode values on the web?
>
> I got a value here, notice "&#-31111; doest display as chinese character,
> I guess this has to do with the fact that it is a negative value?
>
> &#-31111;"|'
>
> Do you guys know any alternative way on how to display a negative value
such
> as this one?
>
> Thank you very much,
> Jen
>
>
>
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
>
>
>



This archive was generated by hypermail 2.1.2 : Wed Nov 21 2001 - 14:18:30 EST