(Sorry, I've already posted this message on the MMS forum, but I just need a quick answer to this question...)

I'm using Nokia Mobile Server Services Library 1.5. When creating a new MMS with an attached text file that is Unicode encoded, I get this message:

com.nokia.mobile.services.api.DriverRemoteException: Message Validation Failed,error code='400'
at com.nokia.mobile.services.driver.mms.eaif.MMSSender.send(MMSSender.java:126)
at com.nokia.mobile.services.driver.mms.eaif.MMSEngineImpl.send(MMSEngineImpl.java:245)
at xxx.MMSSender_NewAPI.send(MMSSender_NewAPI.java:400)
at xxx.MainFrame.jButtonSend_actionPerformed(MainFrame.java:1423)
at xxx.MainFrame_jButtonSend_actionAdapter.actionPerformed(MainFrame.java:2696)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)


No problem with Windows- or ISO-encoded text files, however.. Is there another way to do it?