smsapi / smsapi-php-client

SMSAPI PHP client that allows you to send messages, manage Short URLs and administrate your SMSAPI account.
https://www.smsapi.pl
Other
64 stars 39 forks source link

How to set encoding in smsApi.pl client? #80

Closed jakubkoziara closed 5 years ago

jakubkoziara commented 5 years ago

Hi, In previous version (1.8) It was possible to set custom encoding via setEncoding(). In 2.0 via SendSmsBag there is no such function. I have problem with Polish characters. I saw only encoding property in SendSmsBag class. What can I do ?

maciejlew commented 5 years ago

Have you tried to set that property?

jakubkoziara commented 5 years ago

Yes, I tried with few methods. In this class there is only set params method which refers to param1, param2, param3, param4 properties. If I set it directly in public static function withMessage() it works but it's not proper way. I also need to set from and other params.

jakubkoziara commented 5 years ago

Ok. I have hard to find bug in my code everything works fine. Thank You