DelphiFAQ Home Search:

Save a bitmap with a unicode name (e.g. Arabic)

 

commentsThis article has not been rated yet. After reading, feel free to leave comments and rate it.

Question:

I try to save a bitmap with a unicode name (for example in arabic):
Image1.picture.bitmap.SaveToFile(UnicodeCharacters.Text) but then I get an error.

Answer:

Save the bitmap to a temporary file, then rename it to the Unicode name. You can download the free Tnt Delphi Unicode Controls. They include a function WideRenameFile() which you can use for the renaming to the permanent name.

The Tnt controls will work on any 32bit Windows (Windows 95, 98, ME) but will support Unicode capabilities only support where existent (Windows NT/2000/XP/2003).


Comments:

2005-11-23, 02:25:51
cofdmfirmware@yahoo.com.tw from Taiwan  
how can i input unicode and out 16*16 bitmap

how can i implement the function

give me a direction pls

 

 

NEW: Optional: Register   Login
Email address (not necessary):

Rate as
Hide my email when showing my comment.
Please notify me once a day about new comments on this topic.
Please provide a valid email address if you select this option, or post under a registered account.
 

Show city and country
Show country only
Hide my location
You can mark text as 'quoted' by putting [quote] .. [/quote] around it.
Please type in the code:

Please do not post inappropriate pictures. Inappropriate pictures include pictures of minors and nudity.
The owner of this web site reserves the right to delete such material.

photo Add a picture: