Closed shortcodes closed 5 years ago
Try to set SendSmsBag property:
<?php
declare(strict_types=1);
use Smsapi\Client\Feature\Sms\Bag\SendSmsBag;
$sms = SendSmsBag::withMessage('someone phone number', 'some message');
$sms->encoding = 'utf-8';
Added to FAQ: How to use optional request parameters?
Excelent. It works! Thanks
UTF-8 is being set as default encoding starting from version 3.0.0. User do not have to set it explicitly.
Currently i tried to send a sms message with UTF-8 characters in polish language. Sms is being sended correctly but it has bushes instead of proper utf-8 characters. There is no place in this library documentation describing how to set it and i am feeling like the only one who is using this API. No one encounter this problem at this version??