Delphi Pages Forums  

Go Back   Delphi Pages Forums > Delphi Forum > General

Lost Password?

Reply
 
Thread Tools Display Modes
  #11  
Old 08-25-2010, 12:27 PM
Norrit Norrit is offline
Moderator
 
Join Date: Aug 2001
Location: Landgraaf
Posts: 7,335
Default

And in D2007, upgrade to the latest indy release... Then make sure you send Unicode and NOT Ansi...
Reply With Quote
  #12  
Old 08-25-2010, 12:30 PM
Jasser Jasser is offline
Moderator
 
Join Date: Jan 2005
Location: Saudi Arabia
Posts: 5,060
Default

The version no is not shown in the properties in both Delihi7 and Delphi2007. For the Arabic part, yes it is ASCII.
__________________
Regards,
Abdulaziz Jasser
Reply With Quote
  #13  
Old 08-25-2010, 12:32 PM
Jasser Jasser is offline
Moderator
 
Join Date: Jan 2005
Location: Saudi Arabia
Posts: 5,060
Default

{* And in D2007, upgrade to the latest indy release... Then make sure you send Unicode and NOT Ansi... *}

After installing Delphi2007 I installed the latest updates, but still nothing is different. One more thing, I can not use Unicode. Simply because both do not support Unicode.
__________________
Regards,
Abdulaziz Jasser

Last edited by Jasser; 08-25-2010 at 12:35 PM.
Reply With Quote
  #14  
Old 08-25-2010, 01:25 PM
Norrit Norrit is offline
Moderator
 
Join Date: Aug 2001
Location: Landgraaf
Posts: 7,335
Default

You could try sending it as UTF8, just as longshot:

something like:
Code:
Subject := UTF8Encode('your arabic text');
And indeed, Unicode is only in the higher versions, sorry for the mislead...
Reply With Quote
  #15  
Old 08-25-2010, 01:58 PM
Jasser Jasser is offline
Moderator
 
Join Date: Jan 2005
Location: Saudi Arabia
Posts: 5,060
Default

Sorry Norrit, but still don't work!!?
__________________
Regards,
Abdulaziz Jasser
Reply With Quote
  #16  
Old 08-25-2010, 02:48 PM
Norrit Norrit is offline
Moderator
 
Join Date: Aug 2001
Location: Landgraaf
Posts: 7,335
Default

Well, I think the arabic is a problem... utf8encoding was just a wild guess, since that translates special characters. As for me, I'm in the Netherlands, never had to do with Arabic charset, but as far as I know that's also a problem inside any delphi app... How do you even display them in your application???
I thought for D7 there was a 3th party component that could do that, so when sending text to others (in this case exchange) you run into the troubles you now describe...

Perhaps, if you use a 3th party component for the arabic text, they have a routine like the utf8encode ???
Reply With Quote
  #17  
Old 08-25-2010, 05:09 PM
Jasser Jasser is offline
Moderator
 
Join Date: Jan 2005
Location: Saudi Arabia
Posts: 5,060
Default

Dealing with Arabic language inside Delphi is just like dealing with English. Each ASCII represents an Arabic letter. Unlike the Chinese language which require 2 bytes to store one letter. Anyway, after goggling a round I found a lot of issues with Arabic language and the "Subject" bar inside Outlook. Although this problem is still preventing me from deploying my application (which I am dying to do) I will keep searching the net. This is my only hope. Mean while if you find any clue juts drop me a post and I will be grateful to you. En je groet...
__________________
Regards,
Abdulaziz Jasser
Reply With Quote
  #18  
Old 08-26-2010, 06:21 AM
Glenn1234 Glenn1234 is offline
Senior Member
 
Join Date: Aug 2009
Posts: 131
Default

Quote:
Originally Posted by Jasser View Post
I don't think so. Delphi7 is too old. My guess is 6 or 7.

What could be th problem?
I don't know the problem because I don't know what Indy does, precisely. But I can contribute to this thread in this way. I don't have problems with handling Unicode in Delphi 3 if I have to call procedures/functions that use it. Of course, Delphi 3 doesn't support it innately (you have to convert to ANSI to go to controls), but I can use WideChar and WideString to pass the values around.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT. The time now is 06:38 AM.


Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2019, vBulletin Solutions, Inc.