[Pidgin] #5209: Autoaccept plugin url-encodes() valid utf8 filenames (Korean)
Pidgin
trac at pidgin.im
Sun Sep 27 09:53:39 EDT 2009
#5209: Autoaccept plugin url-encodes() valid utf8 filenames (Korean)
--------------------+-------------------------------------------------------
Reporter: difro | Owner:
Type: defect | Status: new
Milestone: | Component: plugins
Version: 2.4.0 | Resolution:
Keywords: |
--------------------+-------------------------------------------------------
Comment(by elcid247):
Replying to [comment:3 djphazer]:
> My issue seems to fall under this ticket as well, although the summary
should probably be more general, rather than specific to Korean
characters, or even utf8.
>
> Anyway, I have autoaccept set for one of my AIM buddies and the
filenames get mangled if they contain things like spaces or apostrophes...
this does NOT happen for manually-accepted file transfers. I am especially
annoyed by all spaces being replaced with "%20".
>
> This applies to v2.5.0 and probably still in 2.5.1.
i have this problem too but i came up with a command to fix the names,
wish there was some way to have this run automatically on files after they
get autoaccepted
{{{
rename s/"20%|%20"/" "/g *
}}}
idk if rename is installed by default so heres another 1 that does the
same
{{{
find -regextype posix-egrep -regex ".*[%]20.*|.*20[%].*" -exec sh -c
'fixed=$(echo "{}" | sed -r s/"[%]20|20[%]"/" "/g); mv "{}" "$fixed"' \;
}}}
--
Ticket URL: <http://developer.pidgin.im/ticket/5209#comment:4>
Pidgin <http://pidgin.im>
Pidgin
More information about the Tracker
mailing list