Results 1 to 2 of 2

Thread: Encode out of office

  1. #1
    Junior Member
    Join Date
    Jul 2008
    Posts
    17

    Encode out of office

    Hello,

    How can I encode special characters in an out of office message?

    I tried every example below, but none of them is working with me:
    $props[PR_EC_OUTOFOFFICE_MSG] = "Spécial chàrs";
    $props[PR_EC_OUTOFOFFICE_MSG] = utf8_encode("Spécial chàrs");
    $props[PR_EC_OUTOFOFFICE_MSG] = u2w(utf8_encode("Spécial chàrs"));
    $props[PR_EC_OUTOFOFFICE_MSG] = iconv("ISO-8859-1", "WINDOWS-1252", "Spécial chàrs");

    Is it possible to post HTML format as an out of office message?

    Thank you.

  2. #2
    Senior Member
    Join Date
    Nov 2007
    Location
    Belo Horizonte, Brazil
    Posts
    1,475
    Hi dubbelpunt,

    in Z-Push we do $props[PR_EC_OUTOFOFFICE_MSG] = u2w($oofmessage->replymessage);

    $oofmessage->replymessage comes from the mobile and is UTF-8 encoded string. You might also take a look at Z-Push's u2w function.

    I suggest you to use UTF-8 encoding for your PHP files, that way you basically don't have to do a conversion as ZCP since version 7 supports unicode properties.

    Manfred
    Please do not PM me asking for support. Use the forum instead. Thank you.
    I usually check the mobility thread at the end of the day, so please have some patience if there's no immediate response. Asking to look at certain thread per PM won't result in a faster answer.

Similar Threads

  1. Out of office problems
    By thijs in forum Administration and Integration
    Replies: 1
    Last Post: 16-08-2013, 06:11 AM
  2. Out of Office
    By peterpan5000 in forum Administration and Integration Archives
    Replies: 1
    Last Post: 19-02-2010, 11:24 PM
  3. [NFR] Out of office indicator
    By nocturn in forum WebAccess usage Archives
    Replies: 3
    Last Post: 17-11-2009, 02:14 PM
  4. out of office
    By dubbelpunt in forum PHP Development Archives
    Replies: 0
    Last Post: 04-07-2008, 12:18 PM
  5. out of office
    By robert in forum Installation and Configuration Archives
    Replies: 2
    Last Post: 22-01-2008, 03:15 PM

Bookmarks

Posting Permissions

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