Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!newsfeed.kamp.net!newsfeed.kamp.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Hans-Peter Diettrich Newsgroups: comp.lang.pascal.delphi.misc Subject: Re: Converting a hex string to its actual character Date: Sat, 14 Jan 2012 17:53:30 +0100 Lines: 14 Message-ID: <9ndu60F7v6U1@mid.individual.net> References: <2a914a41-727e-4e78-a03b-65cf348e2259@24g2000yqi.googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: individual.net XISPUCwvU5RBzi0RDk5npQcGrZDF62JALwq9vxMRC49Kom+Dqg Cancel-Lock: sha1:HzWJACkvbcfO1TUigGJbRjk8ayY= User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) In-Reply-To: Xref: x330-a1.tempe.blueboxinc.net comp.lang.pascal.delphi.misc:169 Heinrich Wolf schrieb: > basically for 8 bit char encoding you do it right. But I guess, for > multiple doing it and for longer strings you use a function and a loop. Right. > Furthermore there are several possible char encodings like widechar, > UTF8 or UTF16. That depends on the encoding function, which must be known. For every encoding an according encoder and decoder must be implemented. DoDi