director: 15.2.2 (16 November 2015) x86_64-redhat-linux-gnu redhat CentOS Linux 
release 7.0.1406 (Core)
file daemon: 15.2.2 (16Nov15) Microsoft Windows Server 2008 R2 Standard Edition 
Service Pack 1 (build 7601), 64-bit,Cross-compile,Win64

the problem is i'm using bareos with russian windows server 2008.
making backups with help of .bat scripts. 
stdout of .bat is on russian language. and wrongly decoded.
so i see in bareos.log something like:

06-Apr 20:00 dbfs-fd JobId 98: ClientBeforeJob: C:\Windows\system32>wbadmin 
delete catalog -quiet
06-Apr 20:00 dbfs-fd JobId 98: ClientBeforeJob: wbadmin 1.0 - ¨­áâà㬥­â ª®¬ 
­¤­®© áâப¨  à娢 æ¨¨
06-Apr 20:00 dbfs-fd JobId 98: ClientBeforeJob: (C) 2004 <8a>®à¯®à æ¨ï <8c> 
©ªà®á®äâ
06-Apr 20:00 dbfs-fd JobId 98: ClientBeforeJob:
06-Apr 20:00 dbfs-fd JobId 98: ClientBeforeJob: <8a> â «®£  à娢 æ¨¨ ãᯥ譮 㤠
«¥­.

i want to make stdout readable. doesn't matter it would be on russian or 
english (i also know deutsch and čeština a little). 
so the decision could be to englishize stdout or make it decode rightly or 
change command line interpreter.

i tried:
- add chcp 866 / chcp 1251 / chcp 65001 in .bat script
- http://wandersick.blogspot.com/p/change-non-english-command-line.html
- to play with -8 parameter of bsmtp on both director and file daemon
- https://sourceforge.net/projects/console/

any ideas?

-- 
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