FJ Software Foren-Übersicht  
 Homepage   •  Suchen   •  FAQ   •  Mitgliederliste   •  Registrieren   •  Login
 SMS from html form Nächstes Thema anzeigen
Vorheriges Thema anzeigen
Neues Thema eröffnenNeue Antwort erstellen
Autor Nachricht
Irwin



Anmeldedatum: 13.04.2023
Beiträge: 7

BeitragVerfasst am: Fr Jun 23, 2023 17:03 Antworten mit ZitatNach oben

Hi,

I'm using the software to send SMS thru webform. I have a probleme while encoding the msg from my PHP and your software.. the SMS norme is ISO8859-15 and I'm using the table from that website to do my encoding
https://www.smsmode.com/les-caracteres-acceptes-pour-lenvoi-de-vos-sms/

The caractere arrived well in the software but all the special caracteres with accent are well transforming but they add a double space.
IE: Bonjour%0D%0AJe souhaite discuter avec vous concernant l%27achat %E9ventuel de votre maison.
is giving in your software :
Bonjour
Je souhaite discuter avec vous concernant l 'achat éventuel de votre maison.

so I have some double spaces arriving the final message and when posting I get them on my phone too..

Any way to fix this ?

Thanks a lot for your king reply

Irwin
Benutzer-Profile anzeigenPrivate Nachricht senden
FJ
Site Admin


Anmeldedatum: 15.02.2006
Beiträge: 31497
Wohnort: Tirol

BeitragVerfasst am: Mo Jun 26, 2023 21:34 Antworten mit ZitatNach oben

How you start the sms operation? With commandline?
The commandline works with encoded characters so i think the problem is already inside php BEFORE the commandline string is generated.

_________________
Ich bitte um Verständnis daß ich aufgrund des hohen Aufkommens im Forum und meines zeitlichen Rahmens nichtmehr jeden Thread im Forum persönlich lesen bzw. beantworten kann.

Bitte benutzt auch die Forum-Suche bzw. die FAQ
Benutzer-Profile anzeigenPrivate Nachricht sendenE-Mail sendenICQ-Nummer
Irwin



Anmeldedatum: 13.04.2023
Beiträge: 7

BeitragVerfasst am: Di Jun 27, 2023 14:12 Antworten mit ZitatNach oben

this is the html part :
<textarea id="message" rows="4" cols="50" name="message">Pouvez vous me contacter concernant votre bien situé à Cagne sur mer</textarea>

then php code is tacking the the data when send by the html form
here is the result of what I get in the variable in php
Pouvez vous me contacter concernant votre bien situé à Cagne sur mer
no change inside then I encode with the SMS format :
Pouvez vous me contacter concernant votre bien situ%E9 %E0 Cagne sur mer%0D
then I use the html "sms:" command
sms:+33612345678&body=Pouvez vous me contacter concernant votre bien situ%E9 %E0 Cagne sur mer%0D

I tried to not encode before sending, in that case the "é" become "Ã ©" in my sms.

If I send the encoded version I get the good char "é" but I get a space before every special char like this :
"Pouvez vous me contacter concernant votre bien situ é à Cagne sur mer"

If I understand the problem find, when you do the conversion from %E9 it's like a double character so I got a space and the special character..

Did you understand me ?
Benutzer-Profile anzeigenPrivate Nachricht senden
FJ
Site Admin


Anmeldedatum: 15.02.2006
Beiträge: 31497
Wohnort: Tirol

BeitragVerfasst am: Sa Jul 01, 2023 23:21 Antworten mit ZitatNach oben

Many thanks for explanation. Now I was able to reproduce and fix the issue. Please install the current beta: https://www.fjsoft.at/files/MyPhoneExplorer_DebugUpdate.exe

- additional space character problem fixed
- UTF8 encoded texts are also supported now

_________________
Ich bitte um Verständnis daß ich aufgrund des hohen Aufkommens im Forum und meines zeitlichen Rahmens nichtmehr jeden Thread im Forum persönlich lesen bzw. beantworten kann.

Bitte benutzt auch die Forum-Suche bzw. die FAQ
Benutzer-Profile anzeigenPrivate Nachricht sendenE-Mail sendenICQ-Nummer
Irwin



Anmeldedatum: 13.04.2023
Beiträge: 7

BeitragVerfasst am: So Jul 02, 2023 18:54 Antworten mit ZitatNach oben

Thanks a lot, you are amazing

Nice week-end

Irwin
Benutzer-Profile anzeigenPrivate Nachricht senden
icke1954
Moderator


Anmeldedatum: 19.04.2014
Beiträge: 15906

BeitragVerfasst am: So Jul 02, 2023 20:32 Antworten mit ZitatNach oben

Thanks for your feedback!

Greetings icke

_________________
Samsung Galaxy S3 / Android 4.3
Samsung Galaxy S5 / Android 6.01
Samsung Galaxy S8 / Android 9.0
Samsung Galaxy Tab 4 Android 10.0
Samsung Galaxy S20 / Android 13.0
MPE Version 2.1 akt. Nightly / akt. MPE-Client Beta
Benutzer-Profile anzeigenPrivate Nachricht sendenE-Mail senden
Beiträge der letzten Zeit anzeigen:      
Neues Thema eröffnenNeue Antwort erstellen


 Gehe zu:   



Nächstes Thema anzeigen
Vorheriges Thema anzeigen
Du kannst keine Beiträge in dieses Forum schreiben.
Du kannst auf Beiträge in diesem Forum nicht antworten.
Du kannst deine Beiträge in diesem Forum nicht bearbeiten.
Du kannst deine Beiträge in diesem Forum nicht löschen.
Du kannst an Umfragen in diesem Forum nicht mitmachen.

Powered by phpBB © 2001, 2002 phpBB Group :: FI Theme :: Alle Zeiten sind GMT + 1 Stunde
Deutsche Übersetzung von phpBB.de