URL encode trouble
URL encode trouble
- Subject: URL encode trouble
- From: JJ <email@hidden>
- Date: Sat, 18 May 2002 18:13:53 +0200
Hi, list.
I'm getting a little confused with this question, and I'm suspecting this is
a not-pure-AS-question.
I'm trying url-encoding this char: "a"
and I get allways "‡"
I tried osax commands "Encode URL", "MT Encode URL", Akua's coercion "Path
URL" and Apple's vanilla solution (Guidebook module "Essential
Sub-routines">"Text Encoding | Decoding").
So, "a" must be "‡".
But if I search at (e. g.) "Google" this string "a", it is passed to the
remote stream as "á".
hex "E1" is decimal "225", which is (as BBEdit told me) character "a".
(this must be the decimal entity notation: "á" is equal to "á",
which is equal to "á", as knows my browser but not my AS)
Finally, the question:
Why both "E1" & "87" are the same character "a"? Are they different kinds or
methods of URL encoding?
*****
And, do you know a quick AS solution to translate "a" to "E1" (not "87")?
*****
I know that character X is ascii number X which is hex X
But, what is the method to translate character X to decimal-hex entity code?
Thanks!
JJ
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.