Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

unicode , i am complicated !

Status
Not open for further replies.

captanblack

Programmer
Mar 2, 2004
20
IR
Hi

first q :
i want a function that get an unicode 4 Hex number ( for Example 0040 For @) and then return the @ character for me .

second q :
there is something realy complicated for that when i use a webbrowser control that navigate to a html file and the html contains a Field with ID (field1) and it contains data in utf-8 when i want to get its data i do so :

on btn1 click
var
mydata : variant;
begin
mydata := webbrowser1.document;
// now i use document object module
edit1.text := utf8toansi(mydata.all.field1.value);
end;

it shows me ????? in edit box , whtat is going on ?
it is realy bad not to understand something .

So thanx For Any Response .
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top