0 Replies Latest reply on Dec 16, 2009 10:34 AM by mike_morearty

    [svn:fx-trunk] 12999: Partial fix for FB-24595: Corrupted File URL on Launch from Project Name Containing Unicode Chars.

    mike_morearty Level 1

      Revision: 12999

      Revision: 12999

      Author:   mmoreart@adobe.com

      Date:     2009-12-16 10:34:28 -0800 (Wed, 16 Dec 2009)

      Log Message:

      ***********

      Partial fix for FB-24595: Corrupted File URL on Launch from Project Name Containing Unicode Chars.  (The other part of the change is in Flash Builder.)

       

      On Windows, Java's Runtime.exec() uses Java's default character set to convert the passed-in arguments to an MBCS encoding before calling Windows CreateProcessA(), but the default character set can't always represent all the characters in a path.  Flash Bulider will now detect this case and use the 8.3 "short" filename for any such filenames and directories; however, if FDB then calls getCanonicalPath(), that converts the path back to its original form, which is not what we want.  So, we now call getAbsolutePath() instead of getCanonicalPath().

       

      Ticket Links:

      ***********

          http://bugs.adobe.com/jira/browse/FB-24595

       

      Modified Paths:

      **************

          flex/sdk/trunk/modules/debugger/src/java/flash/tools/debugger/concrete/PlayerSessionManag er.java