Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#43 closed defect (worksforme)

Cannot create BackupLocations with path in international characters

Reported by: [email protected] Owned by: chris
Priority: normal Milestone: 0.11
Component: bbackupd Version: 0.10
Keywords: windows win32 backup locations i18n l10n international character encoding utf8 Cc:

Description (last modified by chris)

Applied to boxbackup-chris_general_1822-backup-client-mingw32

If Path in BackupLocations? section contains international characters bbackupd raise error messages:

WARNING: Failed to stat location: c:\<intnl_chars>: No such file or directory
WARNING: Exception thrown: CommonException(OSFileError) at BackupDaemon.cpp(1709)
ERROR: Failed to configure location 'IntnlTestDocuments' path 'e:\intnl_chars>': Common OSFileError (Error accessing a file. Check permissions.): please check for previous errors

Change History (4)

comment:1 Changed 11 years ago by chris

Keywords: windows win32 backup locations i18n l10n added
Milestone: 0.11
Owner: changed from ben to chris
Status: newassigned

comment:2 Changed 11 years ago by chris

Description: modified (diff)

comment:3 Changed 11 years ago by chris

Keywords: international character encoding utf8 added
Priority: criticalnormal
Resolution: worksforme
Status: assignedclosed

Sorry for the long delay in testing this.

It does work if the configuration file (specifically the location path) is encoded in UTF-8, which is what Box Backup uses internally.

There is no standard character encoding on Windows as far as I can tell, and therefore no sensible default encoding to use for this file.

We could possibly add an option that allows you to set the encoding of the file, but it would be quite a lot of work and I'm not sure that it's worth it.

I will add a note to the sample files that the encoding should be UTF-8.

Please reopen the ticket if you're still interested and have suggestions on what else we should do to resolve this.

comment:4 Changed 11 years ago by chris

See CharacterEncoding for more details.

Note: See TracTickets for help on using tickets.