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

Can't restore folders with extended characters (éàöè...) #39

Open
najbo opened this issue Mar 24, 2016 · 3 comments
Open

Can't restore folders with extended characters (éàöè...) #39

najbo opened this issue Mar 24, 2016 · 3 comments

Comments

@najbo
Copy link

najbo commented Mar 24, 2016

Hi Chris,

Thanks a lot for your powerful and useful script.

I have some troubles when trying to restore folders with extended characters, such as "éàèü..."

Here is what I get :

c:\Python27\Scripts>python restore.py /Sociétés/Cinéma/Diapositives 2016-03-23
Restoring folder: /SociÚtÚs/CinÚma/Diapositives
[404] u"Path '/Soci\xdat\xdas/Cin\xdama/Diapositives' not found"
Note: You must specify the path starting with "/", where "/" is the root
of your dropbox folder. So if your dropbox directory is at "/home/user/dropbox"
and you want to restore "/home/user/dropbox/folder", the ROOTPATH is "/folder".

And - of course - impossible to rename folder to a more "nice & easy" name. I will loose delete historic.

Thanks for your Idea / suggestions.
Jan

@clark800
Copy link
Owner

Try running with python3

@romanais
Copy link

Hello, and thank you for the script ! Works like a charm !
@najbo : I had the same problem as you . Here is how I made to address this concern under Python 2.7/Win.
Open a command prompt.
Type : chcp 1252
Valid.
Then i run my command : python.exe restore.py "/Vacances été" 2016-09-13
or python.exe restore.py "/Impôts" 2016-09-13
On the screen, the extended characters are broken, but the restore is ok, and in my Dropbox folder, everything is ok.

@najbo
Copy link
Author

najbo commented Sep 14, 2016

You’re welcome :)

De : romanais [mailto:[email protected]]
Envoyé : mercredi 14 septembre 2016 14:24
À : clark800/dropbox-restore [email protected]
Cc : najbo [email protected]; Mention [email protected]
Objet : Re: [clark800/dropbox-restore] Can't restore folders with extended characters (éàöè...) (#39)

Hello, and thank you for the script ! Works like a charm !
@najbo https://github.com/najbo : I had the same problem as you . Here is how I made to address this concern under Python 2.7/Win.
Open a command prompt.
Type : chcp 1252
Valid.
Then i run my command : python.exe restore.py "/Vacances été" 2016-09-13
or python.exe restore.py "/Impôts" 2016-09-13
On the screen, the extended characters are broken, but the restore is ok, and in my Dropbox folder, everything is ok.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub #39 (comment) , or mute the thread https://github.com/notifications/unsubscribe-auth/AROGT5t8do6ECk7J8azs4a5w255Tatnrks5qp-dVgaJpZM4H4PE1 . https://github.com/notifications/beacon/AROGTw6IYUza7hUXPTJFfqfeK8nccP0Lks5qp-dVgaJpZM4H4PE1.gif


L'absence de virus dans ce courrier électronique a été vérifiée par le logiciel antivirus Avast.
https://www.avast.com/antivirus

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

3 participants