Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Word
application.errors
conversions
docmanagement
drawing.graphics
formatting.longdocs
international
internet.assistant
mail
mailmerge.fields
menustoolbars
newusers
numbering
oleinterop
pagelayout
printingfonts
setup.networking
spelling.grammar
tables
vba.addins
vba.beginners
vba.customization
vba.general
vba.userforms
web.authoring
word6-7macros
word97vba
  
 
date: Thu, 5 Jan 2006 20:20:59 +0100,    group: microsoft.public.word.printingfonts        back       


Unicode and hex numbers for special characters   
Hello

Some time ago, after lots of brain scratching, I managed to create a 
character using eudcedit.exe in Windows.

I then wanted to write a macro to use this character but I had a problem
which was finally solved by a VB group.

The character with a unicode had to be converted into a hex number.

The final macro was therefore

__________________________________________________________________________________________
Sub dt()

'
' Hex Macro
' Macro enregistre le 02/05/2005 par Dave Neve
'
    Application.Keyboard (1028)
    Selection.TypeText Text:=ChrW(61440)
End Sub
_________________________________________________________________________________________

I now need to convert the hex character Word (61440) back into Unicode in
order to install it on to my new computer but I don't know how ( I can't
remember the Unicode number and didn't think to copy it when migrating)

Can anybody help?

Hope this makes sense

Dave Neve
date: Thu, 5 Jan 2006 20:20:59 +0100   author:   Dave Neve

Re: Unicode and hex numbers for special characters   
Thu, 5 Jan 2006 20:20:59 +0100 from Dave Neve 
:

> I now need to convert the hex character Word (61440) back into Unicode in

61440 decimal is F000 hex. I don't think there are any Unicode 
characters as high as 61440 hex, but that's the same as 398400 
decimal.

What character are you actually trying to insert?

-- 
Stan Brown, Oak Road Systems, Tompkins County, New York, USA
                                  http://OakRoadSystems.com/
"Do I smell the revolting stench of self-esteem?"
                    -- Jon Lovitz, in /The Producers/ (2005)
date: Thu, 5 Jan 2006 16:46:22 -0500   author:   Stan Brown

Re: Unicode and hex numbers for special characters   
Unicode character numbers *are* hex. But the hex value of decimal 61440 is
F000 (see http://www.tonymarston.net/php-mysql/converter.php)

-- 
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.

"Dave Neve"  wrote in message
news:u2K9p0iEGHA.2712@TK2MSFTNGP10.phx.gbl...
> Hello
>
> Some time ago, after lots of brain scratching, I managed to create a
> character using eudcedit.exe in Windows.
>
> I then wanted to write a macro to use this character but I had a problem
> which was finally solved by a VB group.
>
> The character with a unicode had to be converted into a hex number.
>
> The final macro was therefore
>
>
____________________________________________________________________________
______________
> Sub dt()
>
> '
> ' Hex Macro
> ' Macro enregistre le 02/05/2005 par Dave Neve
> '
>     Application.Keyboard (1028)
>     Selection.TypeText Text:=ChrW(61440)
> End Sub
>
____________________________________________________________________________
_____________
>
> I now need to convert the hex character Word (61440) back into Unicode in
> order to install it on to my new computer but I don't know how ( I can't
> remember the Unicode number and didn't think to copy it when migrating)
>
> Can anybody help?
>
> Hope this makes sense
>
> Dave Neve
>
>
>
date: Thu, 5 Jan 2006 15:41:09 -0600   author:   Suzanne S. Barnhill

Re: Unicode and hex numbers for special characters   
Thanks to both of you.

So infact, the unicode (hex number) had been converted to a decimal number 
(without any decimals?!?!?!).

The character I am trying to insert does not reproduce here on HTLM and I 
drew it myself with eudcedit.exe so it has no code or name

It's a cross between a 'T' and a 'd' and I use it to represent a sound in 
Thai.

I will now ask a separate question on this topic (phonemic symbols) as you 
have got me thinking.

PS. Sue, you must dream of Word at night, I am sure of it.

Thanks and Happy New Year

Dave Neve
"Stan Brown"  a crit dans le message de news: 
MPG.1e275db625bf64b3989e1c@news.individual.net...
> Thu, 5 Jan 2006 20:20:59 +0100 from Dave Neve
> :
>
>> I now need to convert the hex character Word (61440) back into Unicode in
>
> 61440 decimal is F000 hex. I don't think there are any Unicode
> characters as high as 61440 hex, but that's the same as 398400
> decimal.
>
> What character are you actually trying to insert?
>
> -- 
> Stan Brown, Oak Road Systems, Tompkins County, New York, USA
>                                  http://OakRoadSystems.com/
> "Do I smell the revolting stench of self-esteem?"
>                    -- Jon Lovitz, in /The Producers/ (2005)
date: Fri, 6 Jan 2006 08:34:32 +0100   author:   Dave Neve

Re: Unicode and hex numbers for special characters   
Dave Neve wrote:

> had been converted to a decimal number 
> (without any decimals?!?!?!).

A decimal means that it's written in base ten (our usual numbering system).  As 
opposed to binary (base 2), octal (base 8), hexadecimal (base 16) etc.

In this usage it doesn't relate to to fractional parts of a number written after 
a decimal point.
date: Fri, 06 Jan 2006 08:26:22 GMT   author:   Character

Re: Unicode and hex numbers for special characters   
Character wrote:

> Dave Neve wrote:
> 
>> had been converted to a decimal number (without any decimals?!?!?!).
> 


CORRECTION - in editing I left out a key word ,"number", in the first line below:

A decimal number means that it's written in base ten (our usual numbering
system).  As opposed to binary (base 2), octal (base 8), hexadecimal
(base 16) etc.

In this usage it doesn't relate to to fractional parts of a number
written after a decimal point.
date: Fri, 06 Jan 2006 08:28:22 GMT   author:   Character

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us