Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

database creation failed: incompatible encodings #1

Open
eserte opened this issue Apr 28, 2019 · 2 comments

Comments

Projects
None yet
1 participant
@eserte
Copy link

commented Apr 28, 2019

On some of my smokers (freebsd 11) the test suite fails:

...
# Failed test 'use_it'
# at t/Drivers/PostgreSQL.t line 41.
# Caught exception in subtest: Failed to run command '/usr/local/bin/createdb -E UTF8 -h /var/tmp/cpansmoker-1023/2019042900/DB-QUICK-WfylwWmJ quickdb' (256)
# createdb: database creation failed: ERROR:  new encoding (UTF8) is incompatible with the encoding of the template database (SQL_ASCII)
# HINT:  Use the same encoding as in the template database, or use template0 as template.
#  at /home/cpansand/.cpan/build/2019042900/DBIx-QuickDB-0.000008-0/blib/lib/DBIx/QuickDB.pm line 71.
... (etc) ...
@eserte

This comment has been minimized.

Copy link
Author

commented Apr 28, 2019

I'll check if forcing the locale to something utf8-like helps here (the system does not set any locale-specific environment variable, which effectively makes it behave like LC_ALL=C; I'll try LC_ALL=en_US.UTF-8 instead).

@eserte

This comment has been minimized.

Copy link
Author

commented Apr 28, 2019

I see the problem also on a freebsd9 system with LC_ALL=de_DE.ISO8859-1 set.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.