GithubHelp home page GithubHelp logo

encoding about imapsync HOT 4 CLOSED

alexpogorelov avatar alexpogorelov commented on May 18, 2024
encoding

from imapsync.

Comments (4)

gilleslamiral avatar gilleslamiral commented on May 18, 2024

Hello Alex

Invalid names or just unrecognizable?
utf-7 (modified) is the way all folders names are encoded in IMAP
so you have to use that encoding to select folders with imapsync.
So utf-8 conversion is just sugar for the console.

On 15/08/2013 10:43, alexpogorelov wrote:

When I sync the mailboxes in the names of folders that have Cyrillic characters
I'm getting invalid names in the console (utf8)
need to re-encode the output of utf7 in utf8

INBOX.&BD4EPwQ4BEEEOA- &BD8EOARBBDUEPA-
--->>>

INBOX.описи писем

piece of code
(sorry I do not know much Pearl)

my $str45;
$str45=$h1_folders_all[2];
substr($str45,6,1)="+";
substr($str45,23,1)="+";

Encode::from_to($str45,'utf7','utf8');

Au revoir, 09 51 84 42 42
Gilles Lamiral. France, Baulon (35580) 06 20 79 76 06

from imapsync.

alexpogorelov avatar alexpogorelov commented on May 18, 2024

" just unrecognizable"
synchronization is working correctly
just uncomfortable to watch the output to the console
:)

however there is another error
but it involves large amounts of letters
I think it is better to create a separate topic

from imapsync.

gilleslamiral avatar gilleslamiral commented on May 18, 2024

On 15/08/2013 12:22, alexpogorelov wrote:

" just unrecognizable"
synchronization is working correctly
just uncomfortable to watch the output to the console
:)

Ok I write this in the TODO.

Au revoir, 09 51 84 42 42
Gilles Lamiral. France, Baulon (35580) 06 20 79 76 06

from imapsync.

gilleslamiral avatar gilleslamiral commented on May 18, 2024

" just unrecognizable"
synchronization is working correctly
just uncomfortable to watch the output to the console

Ok I write this in the TODO.

Until then, in imapsync/W/learn/ directory you have a tool to convert the output listing of imapsync

./imap_utf7 data_utf7
[&ZTZO9nux-] [收件箱]
...

Au revoir, 09 51 84 42 42
Gilles Lamiral. France, Baulon (35580) 06 20 79 76 06

from imapsync.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.