Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'y' does not encode unicode characters in URL properly #128

Closed
shouya opened this issue Dec 26, 2014 · 1 comment
Closed

'y' does not encode unicode characters in URL properly #128

shouya opened this issue Dec 26, 2014 · 1 comment

Comments

@shouya
Copy link

shouya commented Dec 26, 2014

This should be an environment independent issue. Sometime I would want to copy the url that contains non-ascii characters, for example, this one: http://zh.wikipedia.org/wiki/Wikipedia:首页.

If I copy this url with native firefox, (i C-l C-c), I will get http://zh.wikipedia.org/wiki/Wikipedia:%E9%A6%96%E9%A1%B5 in my clipboard where the non-ascii chars are encoded properly. However, if I do this via hitting y with vimperator. The content in clipboard would be http://zh.wikipedia.org/wiki/Wikipedia:首页.

Although this issue appears by directly hitting y, I've tested that this problem doesn't shows on yanking the target location of a link with hinting mode (;y).

Non-ascii characters in a URL sometimes cause to an incorrect recognition by some application, so I think this issue should be a bug rather than a feature ;-)

@gkatsev
Copy link
Member

gkatsev commented Dec 26, 2014

I think the option you're looking for is yankencodedurl. We've discussed on the mailing list some time ago and decided to keep it as a default of false since a lot of users (myself included) preferred to be able to yank the unencoded url with all the unicode in it.

@gkatsev gkatsev closed this as completed Dec 26, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants