06-06-2011
Thanks, Unfortunately I have no records description
.
I will do more test and will provide more data to see if we can recognize it.
Thanks,
---------- Post updated at 05:27 AM ---------- Previous update was at 02:54 AM ----------
Hi Again,
I made a mistake, the weired encoding is happening only with English(chars & numbers) it's working normally only with Unicode chars, sorry about that, I made a few test as shown below,
text I sent --> System encoded text:
2-->32
22-->3219
222-->32990C
2222-->32994C06
A2A2-->41595006
A22-->41990C
AAA-->c16010
A-->41
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi, I'm using putty and when I try to write ü it writes | (or when I try to write é , it writes i)
I tried to change settings/translation of putty but with no success
I have KSH
# locale
LANG=
LC_CTYPE="C"
LC_NUMERIC="C"
LC_TIME="C"
LC_COLLATE="C"
LC_MONETARY="C"
LC_MESSAGES="C"... (3 Replies)
Discussion started by: palmer18
3 Replies
2. UNIX for Dummies Questions & Answers
We are facing a problem with PIPE (|) as a delimiter in one of our FTP flat files.
We are constructing a Flat file in IBM-AIX and this contains various strings delimted by PIPE Symbol and then FTPing this to a Mainframe System
The Mainframe program simply recieves this and FTPs the same... (1 Reply)
Discussion started by: seshendra
1 Replies
3. Shell Programming and Scripting
Hi All,
I want to do URL encoding using shell script in my project. I decided that the sed is the correct tool to do this. But I am unable achieve what I wanted using sed. kindly help me to get rid of this.
My requirement is , there will be one URL with all special character, spaces etc...
... (8 Replies)
Discussion started by: Vichu
8 Replies
4. Shell Programming and Scripting
Hello!
The system is AIX 5.3
Give please command or script to get the file encoding
Thanks (2 Replies)
Discussion started by: vinment
2 Replies
5. AIX
Hello!
The system is AIX 5.3
Give please command or script to get the file encoding (1 Reply)
Discussion started by: vinment
1 Replies
6. Shell Programming and Scripting
Hello All
I have a set of files, each one containing some lines that follows that regex:
regex='disabled\,.*\,\".*\"'and here is what file says about each files:
file <random file>
<random file> ASCII text, with CRLF line terminatorsSo, as an example, here is what a file ("Daffy Duck - The... (3 Replies)
Discussion started by: tukuyomi
3 Replies
7. UNIX for Dummies Questions & Answers
Hi,
Where can I find the encoding type in a unix server ?
Thanks in advance !!! (1 Reply)
Discussion started by: risshanth
1 Replies
8. Shell Programming and Scripting
Hi,
I have got a zip (binary) file transferred from MacOS (thus it has additional __MACOSX directory packed inside). On extracting this zip, there are few *.xml files available. When I opened this *.xml file in vim editor using Cygwin (on windows) the editor displayed in the bottom. I tried... (4 Replies)
Discussion started by: royalibrahim
4 Replies
9. Shell Programming and Scripting
Hi,
I am beginner to Unix.
My requirement is to validate the encoding used in the incoming file(csv,txt).If it is encoded with UTF-8 format,then the file should remain as such otherwise i need to chnage the encoding to UTF-8.
Please advice me how to proceed on this. (7 Replies)
Discussion started by: cnraja
7 Replies
10. Solaris
Hi all!!
I´m using command file -i myfile.xml to validate XML file encoding, but it is just saying regular file . I´m expecting / looking an output as UTF8 or ANSI / ASCII
Is there command to display the files encoding?
Thank you! (2 Replies)
Discussion started by: mrreds
2 Replies
LEARN ABOUT DEBIAN
gammu-smsbackup
GAMMU-SMSBACKUP(5) Gammu GAMMU-SMSBACKUP(5)
NAME
gammu-smsbackup - gammu(1) SMS backup file format.
The SMS backup format is text file encoded in current encoding of platform where Gammu is running.
This file use ini file syntax, see ini.
SECTIONS
The file consists of sections, whose name starts with SMSBackup. When creating the backup file, three digits are appended to this text
defining order. While reading the backup, any part after SMSBackup text is ignored and everything which begins with this is processed. So
you can as well give the section name SMSBackupFoo and it will be processed.
The number of messages in backup file is currently limited by GSM_BACKUP_MAX_SMS (100000 at time of writing this document).
SMSBackup section
Each section interprets one physical SMS message (eg. one message part in case of multipart messages).
Decoded text
For SMS backups created by Gammu, there is a decoded text as a comment just after the section name:
[SMSBackup001]
; This is message text
The text can be split to more lines if it is too long or of original message included new lines.
Note This is easiest way to get message text, however also the least reliable one, because it is stored in the comments in the file.
Variables
The following variables can be defined for each SMS:
SMSC Text representation of SMSC number, not used by Gammu if SMSCUnicode exists.
SMSCUnicode
Hex encoded UCS-2 string with SMSC number.
Class Message class.
Sent Timestamp, when message has been sent.
PDU Message type, one of:
o Deliver - received message
o Submit - message to send
o Status_Report - message to send with delivery report
DateTime
Timestamp of message (sent or received).
RejectDuplicates
Whether receiver should reject duplicates.
ReplaceMessage
ID of message to replace.
MessageReference
Message reference number as generated by network.
State State of the message:
o Read
o UnRead
o Sent
o UnSent
Number Recipient number.
Name Name of the message.
Length Length of message text.
Coding Coding of the message:
o 8bit - binary message
o Default - GSM encoding, up to 160 chars in message
o Unicode - Unicode encoding, up to 70 chars in message
Text00 ... TextNN
Numbered parts of the message payload.
Folder ID of folder where the message was saved.
UDH User defined header of the message.
EXAMPLE
The backup of message can look like following:
[SMSBackup000]
#ABCDEFGHIJKLMNOPQRSTUVWXYZ
#
SMSC = "+4540590000"
SMSCUnicode = 002B0034003500340030003500390030003000300030
Sent = 20021201T025023
State = UnRead
Number = "+4522706947"
NumberUnicode = 002B0034003500320032003700300036003900340037
Name = ""
NameUnicode =
Text00 = 004100420043004400450046004700480049004A004B004C004D004E004F0050005100520053005400550056005700580059005A000A
Coding = Default
Folder = 1
Length = 27
Class = -1
ReplySMSC = False
RejectDuplicates = True
ReplaceMessage = 0
MessageReference = 0
AUTHOR
Michal iha <michal@cihar.com>
COPYRIGHT
2009-2012, Michal iha <michal@cihar.com>
1.31.90 February 24, 2012 GAMMU-SMSBACKUP(5)