projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
DBI::connect-Options für UTF-8-Encoding auch beim Einspielen von Datenbankupgrades...
[kivitendo-erp.git]
/
SL
/
DBConnect.pm
diff --git
a/SL/DBConnect.pm
b/SL/DBConnect.pm
index
4e08450
..
8dc9787
100644
(file)
--- a/
SL/DBConnect.pm
+++ b/
SL/DBConnect.pm
@@
-20,4
+20,14
@@
sub connect {
return DBIx::Log4perl->connect(@_);
}
+sub get_options {
+ my $self = shift;
+ my $options = {
+ pg_enable_utf8 => $::locale->is_utf8,
+ @_
+ };
+
+ return $options;
+}
+
1;