🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #272

WideString to Hexa Decimal Value

#272
From: bar
Date: Sat, 24 May 2008 18:20
18 lines
1555 bytes
Hello,
Hope everybody good.

I got a situation, where i want to store a arabic text in the registry. If 
the PC is localized to arabic, it works fine. But if the PC is not localized 
to arabic, when i assign WideString(Unicode) to registry key
it stores as ???. I tried with String, MultiString Keys in the registry.

I think the only way is to Convert Unicode WideString to related Hexadecimal 
numbers and store in the registry and read this value to display the unicode 
string.

Is there any different approach.

How to convert WideString to its Hexa Decimal number.

Kind Regards
SA 
Technical Details
Message-ID: <48385c4f@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nac.net!feeder.erje.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,89f4225d30e42975,start
X-Google-Attributes: gid10cc67,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: "bar" <shaikakbar250281@yahoo.co.in>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: WideString to Hexa Decimal Value
Date: Sat, 24 May 2008 21:20:13 +0300
Lines: 20
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3138
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 195.39.129.199
Message-ID: <48385c4f@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1211653199 195.39.129.199 (24 May 2008 11:19:59 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nac.net!feeder.erje.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
X-Original-Bytes: 1323