Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Printing and Fonts / January 2006

Tip: Looking for answers? Try searching our database.

Unicode and hex numbers for special characters

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Dave Neve - 05 Jan 2006 19:20 GMT
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 enregistrée 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
Suzanne S. Barnhill - 05 Jan 2006 21:41 GMT
Unicode character numbers *are* hex. But the hex value of decimal 61440 is
F000 (see http://www.tonymarston.net/php-mysql/converter.php)

Signature

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.

> Hello
>
[quoted text clipped - 7 lines]
>
> The final macro was therefore

____________________________________________________________________________
______________
> Sub dt()
>
[quoted text clipped - 5 lines]
>     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
[quoted text clipped - 5 lines]
>
> Dave Neve
Stan Brown - 05 Jan 2006 21:46 GMT
Thu, 5 Jan 2006 20:20:59 +0100 from Dave Neve
<NoAddressForSpammers@noway.fr>:

> 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?

Signature

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)

Dave Neve - 06 Jan 2006 07:34 GMT
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
> Thu, 5 Jan 2006 20:20:59 +0100 from Dave Neve
> <NoAddressForSpammers@noway.fr>:
[quoted text clipped - 6 lines]
>
> What character are you actually trying to insert?
Character - 06 Jan 2006 08:26 GMT
> 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.
Character - 06 Jan 2006 08:28 GMT
>> 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.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.