#21
|
|||
|
|||
> Under the comment about Japanese backslashes at the top, put the following:
> global backslashChar > Delete the declaration of backslashChar in the two encode routines. > At the start of on run (lower down), please put: I did not understand the above explanation. I challenged again. SuperDuper! schedule worked with both Japanese and English mode without trouble by the following fix. fix-01 ------------------------ -- of the backslash character in the Japanese OSX environment under Panther. Backslash and the Yen symbol are the -- same ASCII code, but the script compiler doesn't handle it properly, and the following characters -- are not escaped. global backslashChar ------------------------ fix-02 ------------------------ on encode_char(this_char) set the ASCII_num to (the ASCII number this_char) set the hex_list to {"0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "A", "B", "C", "D", "E", "F"} -- set backslashChar to ASCII character 92 ------------------------ fix-03 ------------------------ on encode_text(this_text, encode_URL_A, encode_URL_B) set the standard_characters to "abcdefghijklmnopqrstuvwxyz0123456789" set quoteChar to ASCII character 34 -- set backslashChar to ASCII character 92 ------------------------ fix-04 ------------------------ on run {} tell application "System Events" set sysInfo to system info if (characters 1 thru 2 of (user locale of sysInfo)) as string = "ja" then set backslashChar to ASCII character 128 else set backslashChar to ASCII character 92 end if end tell ------------------------ |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|