I’m writing a php app with API for sending SMS.
I’ve tested sending and receiving SMS via Winbox.
Everything works fine if I do not use any unusual characters.
if I use: “ążźćęłóń” (common Polish chars)
i’m sending a blank message (this is not a problem because I can change the contents of the sent message in PHP)
the bigger problem is that if sb text me back and uses these chars “ążźćęłóń” all i see is a blank masage
Is there :any software version where this problem does not occur?
I’m using
RB 751U with the v6.10
search tag # rextended sms gsm alphabet
http://wiki.mikrotik.com/wiki/Sms
The only valid mode to send SMS till now, is using General GSM 7 encoding alphabet.
UCS-2 currently is not supported
and the max message length is 160 characters
GSM7 alphabet (supported by all the GSM phones):
@ £ $ ¥ è é ù ì ò Ç LF Ø ø CR Å åΔ _ Φ Γ Λ Ω Π Ψ Σ Θ Ξ ESC[ Æ æ ß É**SP** ! " # ¤ % & ’ ( ) * + , - . /
0 1 2 3 4 5 6 7 8 9 : ; < = > ?
¡ A B C D E F G H I J K L M N O
P Q R S T U V W X Y Z Ä Ö Ñ Ü §¿ a b c d e f g h i j k l m n o
p q r s t u v w x y z ä ö ñ ü àLF = Line feed / New line (\n)
CR = Carriage Return (\r)
ESC[ = Escape sequence (0x1B)
SP = Space
NOTICE: The characters Δ, Φ, Γ, Λ, Ω, Π, Ψ, Σ, Θ, Ξ are viewable only with Greek CP125**3** or UTF-8 (or upper).
With ESC[ + another char is obtainable:
FF = ESC[ LF
[ = ESC[ <
\ = ESC[ /
] = ESC[ >
^ = ESC[ Λ
{ = ESC[ (
| = ESC[ ¡
} = ESC[ )
~ = ESC[ =
€ = ESC[ e
FF= Form Feed (\f)
**The character </big> is UNSUPPORTED!!!** (why???... just
= ESC[ ’ … not rational…),
must be converted to ' before encode the message on GSM7 format.
The other unsupported characters must be replaced by spaces, as the standard want.
Sorry but the character ążźćęłóń lower and upper case are not supported at the moment.
(Also for the Italian: “ÀÁÈÉÌÍÒÓÙÚ” uppercase are not supported)
i’ve read wiki, but can you tell me why when i try to send message like this
“Ala ma kota, a kot ma Alę”
from mobile-> mikrotik
i recive empty sms?
The RouterOS (at the moment I write, till 6.11rc1) supports ONLY General GSM 7 encoding alphabet.
Not also can not write, but obviously CAN NOT READ UTF-8 or UTF-16 (UCS-2).
The phone, when you write message, automatically (or forced) use UCS-2.
Hint: change the name of the cat!!!
What are you trying to send to the router? This functionality is mostly not for chatting, but for running scrtipts and notifiying about actions.
I tried to write an app in php and API, our staff can send text to other employees and customers
I could understand if the chars “ąśżźłóę” would change to some “unknown something”.
But the fact that it deletes the entire message is annoying.
The phone, when you write message, automatically (or forced) use UCS-2.
The phone write ALL MESSAGE on UCS-2 format, not only one char.
RouterOS not understand UCS-2.
That make entire message unreadable.
But the raw bytes should still be available somehow.
@MikroTik staff
It’s OK not to support USC-2, but at least make the raw bytes readable (as gibberish) instead of discarding them, please.
If that is available, an external application can try to manually decode those into the proper characters. In PHP’s case, one can use iconv.
I’ll see why this happens and if we can fix it.
please contact support@mikrotik.com and provide us with remote access to your sms router, so we can do some tests
is it possible that you can check it today? i dont have seperate sim card and i have to use mu own for test right now.

I’ll see why this happens and if we can fix it.
please contact support@mikrotik.com and provide us with remote access to your sms router, so we can do some tests
Is there any hope that ros developers take a moment to solve this problem? It would helped me alot, because after more than a year of testing this method of sending and reciving text messages I have say it is a very stable solution.
The only thing remaining is the charset problem
Yes, unfortunately, i found the same proble
I have the same problem with letters (ąćśźż)
Wrzuć wersję RC i będziesz miał ? W miejscu tych liter. Problem w tym ze jak wyślesz smsa na jakiś numer to magicznie dostaniesz pustego smsa z tego numeru na bramkę bez treści i daty… Słabo…

Put the RC version and you will have? In the place of these letters. The problem with this is that when you send a sms to a number you will magically get a blank message from this number on the gate without the content and date … Weak … (translated with google)
Please post in English for all to read