From 05843b903e12e04aae051301b8a6679e003fed88 Mon Sep 17 00:00:00 2001 From: Mohamed Sabil Date: Tue, 29 Nov 2016 04:00:23 +0300 Subject: [PATCH] Adding unicode support Adding line (type => 'unicode') to support Unicode message for non Latin character --- src/Illuminate/Notifications/Channels/NexmoSmsChannel.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Illuminate/Notifications/Channels/NexmoSmsChannel.php b/src/Illuminate/Notifications/Channels/NexmoSmsChannel.php index f4f3be16dab4..41c1fc6b7224 100644 --- a/src/Illuminate/Notifications/Channels/NexmoSmsChannel.php +++ b/src/Illuminate/Notifications/Channels/NexmoSmsChannel.php @@ -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),