Oswald Buddenhagen <oswald.buddenha...@gmx.de> writes: > On Wed, Feb 24, 2016 at 02:39:52AM +0300, student975 wrote: >> Is there a plan to add utf8 <-> utf7 folder names translation? >> > yes: let someone else do it. ;)
Unfortunately can not be that someone else :) > the utf7 first needs to be converted to utf16 - and from there, it > *technically* should be converted to whatever is the current locale > (LC_CTYPE). on linux, nowadays that's overwhelmingly likely utf8, but > for a proper implementation, one needs to use iconv/gconv (it could very > well matter on windows/mingw). > > there is also some trickiness involved in maintaining the strings in > memory - one wouldn't want to convert (potentially lossily) to the local > encoding just to convert it back when syncing two imap servers. but > printing the names requires conversion in either case. > not exactly rocket science, but needs to be kept in mind. Probably to add two hooks is simpler way, what do you think? I mean just to (optionally) point to external pipe script (own for each conversion direction). This way the responsibility to coordinate folder name with file system is delegated outside the app. And probably this way is much more easy to implement and less time-consuming on your side. a ------------------------------------------------------------------------------ Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140 _______________________________________________ isync-devel mailing list isync-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/isync-devel