User Tools

Site Tools


bacula_manual:character_sets

Character Sets

Bacula is designed to handle most character sets of the world, US ASCII, German, French, Chinese… However, it does this by encoding everything in UTF-8, and it expects all configuration files (including those read on Win32 machines) to be in UTF-8 format. UTF-8 is typically the default on Linux machines, but not on all Unix machines, nor on Windows, so you must take some care to ensure that your locale is set properly before starting Bacula.

ASCII is a proper subset of UTF-8, so if you do not need to include non-ASCII7 characters in your configuration files, then you do not need to be as careful about this issue. (CHECKME)

To ensure that Bacula configuration files can be correctly read including foreign characters, the LANG environment variable must end in '.UTF-8'. A full example is 'en_US.UTF-8'. The exact syntax may vary a bit from OS to OS, and exactly how you define it will also vary. On most newer Win32 machines, you can use notepad to edit the conf files, then choose output encoding UTF-8.

Bacula assumes that all filenames are in UTF-8 format on Linux and Unix machines. On Win32 they are in Unicode (UTF-16), and will be automatically converted to UTF-8 format.

bacula_manual/character_sets.txt · Last modified: 2010/02/08 15:28 by baylink