View Single Post
  #14  
Old 10-21-2006, 10:09 AM
dnanian's Avatar
dnanian dnanian is offline
Administrator
 
Join Date: Apr 2001
Location: Weston, MA
Posts: 14,923
Send a message via AIM to dnanian
OK. Let's try this.

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:

Code:
	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
Let me know if that works for both English and Japanese modes.
__________________
--Dave Nanian
Reply With Quote