Greek characters in query string
Omar Polo op at omarpolo.com
Thu Mar 4 07:56:45 GMT 2021
Stephane Bortzmeyer <stephane at sources.org> writes:
> On Wed, Mar 03, 2021 at 09:57:07PM -0500,
> Rev. Fr. Robert Bower <frrobert at frrobert.com> wrote
> a message of 38 lines which said:
>
>> When the url with the query string is sent to the server (I am using
>> Molly Brown the server and amfora as a client) it is changed the
>> Greek characters using url encoding.
>>
>> I am wondering how to I decode the url to get back the Greek
>> characters. I am using bash for my scripts.
>
> The server (MollyBrown) should do it for you :-( but if it doesn't, in
> bash, you have several solutions:
AFAIK that's not correct. gmid was doing exactly that, and after
talking to Sean that raised some doubts about my CGI implementation (for
this and other details), I re-checked the RFC3875[0] and it effectively
requires QUERY_STRING to be url-encoded:
> 4.1.7. QUERY_STRING
>
> The QUERY_STRING variable contains a URL-encoded search or parameter
> string;
[0]: gemini://tanso.net/rfc/rfc3875.txt
Archive home | About this archive