4 Replies Latest reply on Sep 14, 2009 5:50 AM by peterlyd

    Bug in CS4???

    FlexDevNorway Level 1

      Seems like there is a problem with ScriptArgs and UTF-8 in IDS4. Because it does not handle UTF-8. Norwegian characters, and alle other non standard seems to not work. Did the same thing with IDS3 and there it worked. Is this a bug?

        • 1. Re: Bug in CS4???
          sungnoone Level 1
          I also have a similar problem.

          MyFlext Client-side and InDesign Server( http://localhost:18555/service?wsdl ) to pass parameters, there will be produced garbled.( Chinese UTF-8 )

           

          Some people can solve it?
          • 2. Re: Bug in CS4???
            peterlyd

            Hi.

             

            I have successfully circumvented the problem by encodeing the parameter stings with base64 before sending (in c#) by using:

            string parameter = System.Convert.ToBase64String(System.Text.ASCIIEncoding.ASCII.GetBytes(toEncode));

            , and then decode in the ID script before using them.

             

            But this is just a hack.

             

            /peter

            • 3. Re: Bug in CS4???
              BrendanOShea

              UTF-8 should work.

               

              Is the script you are sending saved as UTF-8 or platform encoding? (needs to be UTF-8)

               

              Is this on Windows or Mac? Which version of the OS? If Windows, is your console's code page set to UTF-8 (chcp 65001)? If code page is 65001, is the font in the console a non-raster font?

               

              Does the same script work correctly when sent to IDS via 'sampleclient'?

               

              Can you provide a sample script that fails?

               

              Thanks,

              -Brendan O'Shea

              InDesignServer Engineering

              • 4. Re: Bug in CS4???
                peterlyd Level 1

                Please note that the thread: http://forums.adobe.com/thread/482342 contains more information.

                But in short I am experincing lack of extended characters on a Windows Vista (and on win 2003) with IDS CS4 6.0.3.557. The webservice call contains utf-8 encoding of character  "æ" (is in hex: C3 83) , but the string read by indesign javascript contains wrong characterencoding = "<6d3f>"

                 

                regards Peter