Why the MMSText show ok,but the txt MMSFile not? They are the same ...

Why the MMSText show ok,but the txt MMSFile not? They are the same ... SearchSearch
Author Message
Anonymous
 
Posted on Friday, September 24, 2004 - 01:08 am:   

why the MMSText show ok,but the txt MMSFile not? They are the same encoding.
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 3441
Registered: 10-2002
Posted on Friday, September 24, 2004 - 04:42 pm:   

When you enter text into the MMSTEXT field, NowSMS analyses it, and determines whether it can be encoded as iso-8859-1, or if it needs to be encoded as UTF-8. If the text must be encoded as UTF-8, it sets a header in the MMS message.

However, no check is performed on text files that are included in an MMS message submission, and they are submitted without any character set header in the MMS message.

The only solution is to always use the utf-8 character set for text files that you will send as an MMS.

Then edit SMSGW.INI, and under the [SMSGW] header, add:

MMSCOMPParameters=-cUTF-8

When that setting is present, NowSMS will always include a header in the MMS message indicating that any included text files use the UTF-8 character set.

-bn