Hello,
I will be using an Arduino MKR GSM 1400 on an installation that is in french.
I have come across a bug in the library where accents are not sent unless I use emojis:
using the receive SMS example https://www.arduino.cc/en/Tutorial/MKRGSMExamplesReceiveSMS
If I send the following message:
"Teste avec accès aux accents"
The Serial Monitor returns:
"Teste avec accs aux accents"
But if I send:
"Teste avec accès aux accents ;P" (;p should be winking face with stuck-out tongue emoji)
The serial Monitor returns the following hex values:
"0054006500730074006500200061007600650063002000610063006300E80073002000610075007800200061006300630065006E007400730020D83DDE1C"
Which I can decode to:
"Teste avec accès aux accents ;P" (;p should be winking face with stuck-out tongue emoji)
Is there a way to force the arduino to send hex values instead of text? It's seems that it's the only way to get accents to show up...
The following sentence:
"J'ai décidé d'aller au café, mais il est rempli à craquer. Ça demande de la patience. Il y a des gens qui attendent dans l'entrée! C'est complètement fou!"
returns:
"J'ai dcid d'aller au caf, mais il est rempli craquer. a demande de la patience. Il y a des gens qui attendent dans l'entre! C'est compltement fou!"
But, if I use a "ê":
"J'ai décidé d'aller au café, mais il est rempli à craquer. Il faut être patient. Il y a des gens qui attendent dans l'entrée! C'est complètement fou!"
It returns:
"004A0027006100690020006400E900630069006400E90020006400270061006C006C00650072002000610075002000630061006600E9002C0020006D00610069007300200069006C0020006500730074002000720065006D0070006C0069002000E000200063007200610071007500650072002E00200049006C00200066006100750074002000EA007400720065002000700061007400690065006E0074002E00200049006C00200079002000610020006400650073002000670065006E0073002000710075006900200061007400740065006E00640065006E0074002000640061006E00730020006C00270065006E0074007200E90065002100200043002700650073007400200063006F006D0070006C00E800740065006D0065006E007400200066006F00750021"
Which decodes to:
"J'ai décidé d'aller au café, mais il est rempli à craquer. Il faut être patient. Il y a des gens qui attendent dans l'entrée! C'est complètement fou!"
Going further, the following accented letters return as HEX values
À Â â È Ê ê Ë ë Ï ï Î î Ô ô Ù Û û ç
The following accented characters are completely deleted from the string if used by themselves:
So it seems that ê and emojis force hex output which is expected since they are not part of the GSM_7 encoding. Please let me know how to force the arduino to output Hex values instead of characters