Skip to content

Commit

Permalink
Adding unicode support
Browse files Browse the repository at this point in the history
Adding line (type => 'unicode') to support Unicode message for non Latin character
  • Loading branch information
mohamedsabil83 authored Nov 29, 2016
1 parent 289fbae commit 05843b9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Illuminate/Notifications/Channels/NexmoSmsChannel.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ public function send($notifiable, Notification $notification)
}

return $this->nexmo->message()->send([
'type' => 'unicode',
'from' => $message->from ?: $this->from,
'to' => $to,
'text' => trim($message->content),
Expand Down

0 comments on commit 05843b9

Please sign in to comment.