Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4232854
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T02:08:51+00:00 2026-05-21T02:08:51+00:00

I am trying to send Danish characters (Æ, Ø, Å) in an alarm notification

  • 0

I am trying to send Danish characters (Æ, Ø, Å) in an alarm notification using Easy APNs but when doing so, no message is send. If I send it with sound, only the sound is send. Also the message will be set to “null” in the database if it includes any of the Danish characters.

Does anyone know a fix for this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-21T02:08:52+00:00Added an answer on May 21, 2026 at 2:08 am

    This was caused by json_encode(). Using utf8_encode() on my alert views before json_encode() solved the issue.

    UPDATE (How to fix the issue)

    1. In class_APNS.php around line 411, you have

    $msg = chr(0).pack("n",32).pack('H*',$token).pack("n",strlen($message)).$message;

    Above that, put:

    $message = utf8_encode($message);

    2. In class_APNS.php (same file) put this:

    $usermessage['aps']['alert'] = utf8_encode($usermessage['aps']['alert']);

    Put it just above the following:

    $fk_device = $this->db->prepare($list[$i]);
    
    $message = $this->_jsonEncode($usermessage);
    
    $message = $this->db->prepare($message);
    $delivery = (!empty($when)) ? "'{$when}'":'NOW()';
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

im trying to send a Windows message to my Delphi application, but im having
I am trying to send email using mail() in php. I need the message
I'm trying to send mails from Perl using the Mail::sender module. But I keep
Im trying to send images over HTTP using HttpListener but some images come from
Trying to send a PHP email the easy way but I cannot work out
I am trying send a message to an Active MQ topic using Perl's Net::Stomp.
I'm trying send push notifications, but the APNS send me this response: Resource id
Im trying to send a message using an object. I have a bit of
am trying send an array to php file using $_POST ,still always getting an
I am trying to send emails from smtps (secure smtp) using Indy and the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.