×

Discussion Board

Results 1 to 9 of 9
  1. #1
    Registered User
    Join Date
    Mar 2009
    Posts
    389

    How to get CharacterSet of message attachment?

    I want to show a message which iMtm is KUidMsgTypeBt.The mime type of attachment is "text/......" now.I want to convert to unicode,So I must get CharacterSet first.How to get CharacterSet of the attachment?
    Last edited by wiso33; 2009-06-24 at 11:09.

  2. #2
    Registered User
    Join Date
    Mar 2009
    Posts
    389

    Re: How to get CharacterSet of message attachment?

    Can anyone tell me?

  3. #3
    Registered User
    Join Date
    Mar 2009
    Posts
    389

    Re: How to get CharacterSet of message attachment?

    Can anyone tell me?

  4. #4
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,165

    Re: How to get CharacterSet of message attachment?

    AFAIK you can get the mime type, but then the document itself should indicate the encoding.

  5. #5
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,734

    Re: How to get CharacterSet of message attachment?

    You can try if CCnvCharacterSetConverter::AutoDetectCharSetL can help you, but it would better to check the ...... part of your "text/......"

  6. #6
    Registered User
    Join Date
    Mar 2009
    Posts
    389

    Re: How to get CharacterSet of message attachment?

    Maybe MimeCharset() can work.

  7. #7
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,165

    Re: How to get CharacterSet of message attachment?

    you could maybe check it and let us know whether it worked.

  8. #8
    Registered User
    Join Date
    Mar 2009
    Posts
    389

    Re: How to get CharacterSet of message attachment?

    It alway return null!

  9. #9
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,165

    Re: How to get CharacterSet of message attachment?

    Then I assume that it is not really reliable way, so meybe you could just go what the Wizard suggested, and use CCnvCharacterSetConverter::AutoDetectCharSetL.

Similar Threads

  1. Confirmation Message while sending the Message
    By Abhishek_karmakar in forum Symbian Networking & Messaging (Closed)
    Replies: 8
    Last Post: 2009-01-07, 06:23
  2. To recive txt message at particulat port
    By divya_v in forum Mobile Java General
    Replies: 5
    Last Post: 2008-12-17, 05:53
  3. Help on sending Message :(
    By vasant21 in forum Symbian
    Replies: 1
    Last Post: 2006-07-07, 06:38
  4. Which member of TMsvEntry is indicator that a message is a received one
    By NianHawk in forum Symbian Networking & Messaging (Closed)
    Replies: 0
    Last Post: 2006-03-03, 14:56
  5. Save an attachment of a message
    By elena_santander in forum Bluetooth Technology
    Replies: 0
    Last Post: 2003-11-20, 09:39

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×