Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Unicode handling in Delphi

Posted on 2003-02-23
5
Medium Priority
?
385 Views
Last Modified: 2010-04-04
Hi, I've a problem with unicode handling in delphi.
here is the problem :
I've get a text file from pop3, and the text is unicode encoded, and i want to put the content of the file into database, how to add a unicode character into database ? because if i use string to buffer the text, it's always get only the first 3 character.
0
Comment
Question by:dhs_lee
5 Comments
 
LVL 9

Expert Comment

by:mocarts
ID: 8007079
first - you should use WideString and apropriate FileReadW functions from Win32 API to get correct results.
second - your field type in database - what type it is?
mo.

0
 

Author Comment

by:dhs_lee
ID: 8007332
Many Thanks, but I've already solved the problem, I use TntUnicode library, that you can get from here :
http://home.ccci.org/wolbrink/tnt/delphi_unicode_controls.htm
0
 

Expert Comment

by:CleanupPing
ID: 9317104
dhs_lee:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
EXPERTS:
Post your closing recommendations!  No comment means you don't care.
0
 
LVL 10

Expert Comment

by:kacor
ID: 9956155
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area for this question:
       PAQ and refund points
Please leave any comments here within the next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

Some days and here is the Christmas Time. I wish good luck and good health for you all and for your loved ones

kacor
EE Cleanup Volunteer
0
 

Accepted Solution

by:
modulo earned 0 total points
ID: 9995905
PAQed, with points refunded (100)

modulo
Community Support Moderator
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Loops Section Overview
Is your OST file inaccessible, Need to transfer OST file from one computer to another? Want to convert OST file to PST? If the answer to any of the above question is yes, then look no further. With the help of Stellar OST to PST Converter, you can e…
Suggested Courses
Course of the Month13 days, 11 hours left to enroll

580 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question