ASCII

Marc

New member
Tous les messages vocaux ayant des caractères ASCII codés sur 8bit sont ignorés (le caractère). Seuls ceux sur 7bit sont lus !
 

Solbes

New member
All voice messages with 8bit ASCII characters are ignored (the character). Only those on 7bit are read!
 

Dm114

Well-known member
All voice messages with 8bit ASCII characters are ignored (the character). Only those on 7bit are read!
Vocal messages can't use ASCII coding: their coding depends on file format used. ASCII is one of the ways to code alphanumeric characters
 

Solbes

New member
So there is no way to read characters encoded on 8bit like accented characters in French ...
 

Dm114

Well-known member
So there is no way to read characters encoded on 8bit like accented characters in French ...
What is exactly your problem? Are you speaking about reading a text file? If so, just store its content in a string variable. But, prior to reading/storing you should convert it from ASCII to UTF-8 because I'm not sure that MD, nor Android, can natively read an ASCII file. I didn't try it.
 

Marc

New member
What is exactly your problem? Are you speaking about reading a text file? If so, just store its content in a string variable. But, prior to reading/storing you should convert it from ASCII to UTF-8 because I'm not sure that MD, nor Android, can natively read an ASCII file. I didn't try it.
 

MacroDroidDev

Administrator
Staff member
I'm not really sure exactly what feature of MacroDroid this is even referring to, can you please clarify in terms of what action you are talking about?
 

Solbes

New member
Lecture d'un texte en français avec les caractères accentués «àéèäöüç».... Ils sont tous codés sur 8 bit est sont simplement ignorés.

Reading of a text in French with the accented characters "àéèäöüç" .... They are all coded on 8 bit and are simply ignored.
 

Dm114

Well-known member
Lecture d'un texte en français avec les caractères accentués «àéèäöüç».... Ils sont tous codés sur 8 bit est sont simplement ignorés.

Reading of a text in French with the accented characters "àéèäöüç" .... They are all coded on 8 bit and are simply ignored.
I just understood you are speaking about Text to speak (TTS) engine. TTS has nothing to deal with MacroDroid. MD uses TTS engine you defined on your device, according to your system default language.

So, maybe the one you are using doesn't correctly decode some characters. On my side, I use standard Google one and it works fine. As an example, the text "Ça c'est précis !" sounds nice.

These engines are mainly based on word dictionaries and correctly speak words they recognize. They generally 'convert' these 'special' characters to 'standard' ones to even correctly speak some misspelled words. In my previous example, "Ca c'est precis !" gives the same correct spelling, despite misspelling.
 

Solbes

New member
Est-il possible de vous envoyer un exemple ? j'ai une macro appelée «Lecteur vocal des notifications» où dans votre exemple, il lis «a'estprcis»...

Is it possible to send you an example? I have a macro called "Lecteur vocal des notifications" where in your example it reads "a'estprcis" ...
 

MacroDroidDev

Administrator
Staff member
I'm not really sure exactly what feature of MacroDroid this is even referring to, can you please clarify in terms of what action you are talking about?
 

Dm114

Well-known member
Pouvez-vous voir ma macro ...? Utilisant TTS.

Can you see my macro ...? Using TTS.
Yes, send a screenshot but if you say that the example I used doesn't work on your device, it probably means that the issue comes from your TTS engine. Which one are you using?
 

Attachments

  • 20210713_092048.jpg
    20210713_092048.jpg
    135 KB · Views: 4

Solbes

New member
J'ai vu qu'il avait des expressions régulières à corriger... je fais le test et vous tient au courant.

I saw that he had regular expressions to correct ... I'm doing the test and keeping you posted.
 
Top