Gilberto Nunes <[email protected]> writes:

> What I try to do is back up files with ISO-8859-1 charset and BareOS
> sometimes, show a blank line, instead the file/folder name.  Since my
> primary language is Portugues, it seems to me, that BareOS cannot
> handle accents.

Bareos does not care about the accents or charset used in your
filenames, it just stores the octets.  so e.g., "ã" will be stored as
the octets 0xc3 0xa3 if the filesystem uses UTF-8, but as 0xe3 if the
filesystem uses Latin1.  This only works if you use SQL_ASCII as the
encoding for your database, which tells the database to ignore
"high-bit" octets and store them verbatim.

This will however cause issues if you attempt to do restore of a Latin1
filesystem in a terminal with a UTF-8 locale.  Printing a Latin1
character to a terminal which expects UTF-8 sequences will confuse it.
In other words, in that case you will need change the enconding of your
terminal *and* your locale environment variables before you start
bconsole.

-- 
Kjetil T. Homme
Redpill Linpro AS - Changing the game

-- 
You received this message because you are subscribed to the Google Groups 
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to