|
From: | Jari Turkia |
Subject: | Re: Charset on Windows |
Date: | Fri, 15 Sep 2006 11:45:58 +0300 |
User-agent: | Thunderbird 1.5.0.5 (Windows/20060719) |
address@hidden wrote:
As promised, here is the result of my tests.I tried an ANSI encoded text and it worked perfectly! Just use the notepad to make this text file, but it can also be generated by PHP or your favorite scripting language!
By ANSI you mean Latin-1? ANSI charset has only 7-bit characters, however, some text editors refer ISO-8859-1 as ANSI (could someone explain the logic behind this).
If you have a text-file and still would like to use pipes (and no redirecting), something like this can be done: type "C:\path_to_textfile\file.txt" | "C:\path_to_gnokii\gnokii.exe" --sendsms +123456789 -rI am not using this command (everything on one signe line):echo "sms message" | "C:\path_to_gnokii\gnokii.exe" --sendsms +123456789 -rBut this one instead (everything on one signe line):"C:\path_to_gnokii\gnokii.exe" --sendsms +123456789 -r < "C:\path_to_textfile\file.txt"
I would like to thank the Gnokii programmers for their work (and the one who did compile the Win32-exe).
Thank you very much! :-) Regards, Jari Turkia
[Prev in Thread] | Current Thread | [Next in Thread] |