IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.



#Automation


#Applicationintegration
#webMethods
#Integration
 View Only
  • 1.  HTTP File Upload encoding/charset issue

    Posted 02/28/06 12:59 PM

    Hi folks,

    We have a scenario where many customers can upload files via HTTP post to our service. The files can be in many different encodings (ISO-8859-1,.-2.-3.,ISO-8859-9,…).

    How can i convert these different encodings to UTF-8? Is it only with the stringtobytes or bytestostring?

    kr
    Werner


    #webMethods
    #Flow-and-Java-services
    #Integration-Server-and-ESB


  • 2.  RE: HTTP File Upload encoding/charset issue

    Posted 02/28/06 01:18 PM

    Once you have xmldata string in the pipeline,the try to use XMLStringToNode and convert the xmldata encoding to UTF-8,it should work.

    HTH,
    RMG


    #webMethods
    #Integration-Server-and-ESB
    #Flow-and-Java-services


  • 3.  RE: HTTP File Upload encoding/charset issue

    Posted 02/28/06 03:54 PM

    The HTTP header and/or XML declaration needs to indicate the appropriate encoding. Trying to manage the encoding after it has already been converted to a String (and therefore, a (default) encoding has already been assumed) will be an exercise in frustration.

    Since this has come up a lot lately, someone needs to do an article about character encodings and how IS handles them. Any takers?


    #webMethods
    #Integration-Server-and-ESB
    #Flow-and-Java-services