Talk:URL decoding: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 19:
:::::::*LC_COLLATE=en_US.UTF-8.
::::::On the machine it worked none of those are set. For Rosetta Code purposes for awk to rely on the shell environment to do a urldecode seems not right? At least not very portable. (and I don't understand why enabling UTF-8 would make it not work.) -- [[User:3havj7t3nps8z8wij3g9|3havj7t3nps8z8wij3g9]] ([[User talk:3havj7t3nps8z8wij3g9|talk]]) 19:51, 27 May 2015 (UTC)
 
:::::::: If you pass the url from stdin it's not hardcoded, that's all.
 
:::::::: Meanwhile, it's the same character sequence emitted regardless of the environment. The issue with those variables is how they get handled by the OS (which is responsible for putting the font on the screen).
 
:::::::: As for why it's broken for you when you set those variables, I will guess that that's because whatever is interpreting those variables expects that it's talking to something other than what it's really talking to. Where if you erased them they would be passed through unchanged (and handled as utf-8 by a different part of the OS). --[[User:Rdm|Rdm]] ([[User talk:Rdm|talk]]) 00:28, 28 May 2015 (UTC)
6,962

edits