clemhoff Posted June 3, 2010 Posted June 3, 2010 (edited) Hello all, Through ScriptMaster, I send an XML request (SOAP) on a web service (SQL Server). Everything works as expected except for diacriticals eg. Here the result returned by the plug-in: Quote <?xml version="1.0" encoding="utf-8"?> Hello World √Ñ √Ö √á √â √ë √ñ √ú √° √† √¢ √§ √£ √• √ß √© √® √™ √´ √≠ √¨ √Æ √Ø √± √≥ √≤ √¥ √∂ √µ √∫ √π √ª √º √Ü √ò √¶ √∏ √Ä √É √ï ≈í ≈ì √ø ≈∏ √Ç √ä √Å √ã √à √ç √é √è √å √ì √î √í √ö √õ √ô Here the (correct) result returned by `cURL' when I use a Terminal or an AppleScript/do shell script command: Quote <?xml version="1.0" encoding="utf-8"?> Hello World Ä Å Ç É Ñ Ö Ü á à â ä ã å ç é è ê ë í ì î ï ñ ó ò ô ö õ ú ù û ü Æ Ø æ ø À Ã Õ Œ œ ÿ Ÿ Â Ê Á Ë È Í Î Ï Ì Ó Ô Ò Ú Û Ù Have you also experienced this problem? Tested under: Mac OS X.4.11 FMPA 10.v3 ScriptMaster v.3.34 Edited June 4, 2010 by Guest
Jesse Barnum Posted June 3, 2010 Posted June 3, 2010 Clem, I don't have access to a site to test this with, but try changing this line: response = responseStream.getText(); to this: response = responseStream.getText("utf-8"); Please let me know if that works.
clemhoff Posted June 4, 2010 Author Posted June 4, 2010 Thank you Jesse for your quick response. The encoding parameter is exactly the remedy to my problem. Thank's again Clement
Recommended Posts
This topic is 5307 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now