Charset encoding

Charset encoding SearchSearch
Author Message
Abdul Gaffar
New member
Username: Abdulgaffar

Post Number: 3
Registered: 11-2004
Posted on Tuesday, December 07, 2004 - 06:42 am:   

hi

i am generating the mms file using MMSCOMP tool

its working fine normally.
But when i use the -cCharset option the whole MMS message gets converted to the specified CHARSET.

i want to set the CHARSET of only the "subject" of the MMS. but the CHARSET of even the address and text get changed.

or :
i want to set the CHARSET of only the text of the MMS.

how can i compile such an mms?
how can i go for it?
please do help me out. i will be greatfull to you.
thank you

regards
Abdul Gaffar
Anonymous
 
Posted on Monday, December 13, 2004 - 12:00 pm:   

even i hav the same problem
bryce help me plz.

i want to hav my subject line in chinese (BIG5 encoding) and the remaining normal text in the MMS body in english (US-ASCII encoding).

bryce help me plz.
Anonymous
 
Posted on Friday, December 17, 2004 - 04:43 am:   

hi

how do i have the subject line in english(us-ascii) and text of the mms in turkish(iso-8859-9)?

i m visiting this section from days but bryce has not replyed for the problem we 3 r facing any one to help us out.

Plzzzzzzzzzzzz Helpppppppppppppp

Dono
Unregistered guest
Posted on Friday, December 17, 2004 - 07:27 am:   

I had the same problem and found the solution from an RFC document. Basically to send a non us-ascii subject the following format is used:
=?charset?SubjectText?=

If the subject is utf-8 then:
=?utf-8?SubjectText?=
Anonymous
 
Posted on Monday, December 27, 2004 - 07:28 am:   

MMSCOMP is a command-line utility that accepts the following command-line format:
MMSCOMP [–ccharset] header.file [data1.file[data2.file [data3.file …]]]

when we use a command:
mmscomp -ciso-8859-5 test.hdr text1.txt text2.txt

all text data specified in "test.hdr" and the other textfiles is converted to iso-8859-5 encoding.

here the issue raised is:
The subject is stated on some line in the header file "test.hdr" as :
Subject: <some text-string>

the problem is that this subject's text string should be in some other encoding like utf-8 etc which cannot be achieved using this mmscomp tool.

how do we solve this problem? how do we set the charset encoding of the subject text and the MMS data text seperately?