ashtadhyayi-com / code

3 stars 0 forks source link

Devanagari in URLs (%E0%A4%A6%E0%) #1

Open gasyoun opened 3 years ago

gasyoun commented 3 years ago

If I want to quote and send the URL instead of the

doga

I get this

https://ashtadhyayi.com/dhatu/02.0004?form=%E0%A4%A6%E0%A5%8B%E0%A4%97%E0%A5%8D%E0%A4%A7%E0%A4%BF

It is rather hard for me to read %E0%A4%A6%E0%A5%8B%E0%A4%97%E0%A5%8D%E0%A4%A7%E0%A4%BF as दोग्धि. I see that all the data is written down as devanagari. Can you use a simplified transliteration for URL generation?

?form= is of no need as well.

Why not just https://ashtadhyayi.com/dhatu/02.0004/dogdhi?

vipranarayan14 commented 2 years ago

Alternatively, the website can contain a "share" button that allows copying the current page URL in its non-encoded form.

vipranarayan14 commented 1 year ago

The "Copy link" button added recently added to the site seems to fix this issue.