pplu/perl-mssql-server

Unicode Support

Closed this issue · 3 comments

genio commented

Unfortunately, you can't just install DBD::OBDC without passing a flag to its Makefile.PL.

  • cpan App::cpanminus
  • cpanm --look DBD::ODBC
  • perl Makefile.PL -u # enable unicode support
  • make
  • make test
  • make install

Until DBD::ODBC allows some sort of ENV variable, this is unfortunately necessary.

genio commented

perl5-dbi/DBD-ODBC#6

I created a PR for that.

pplu commented

@genio : looks like this was solved on CPAN.

How would you update the article to introduce unicode support?

genio commented

DBD_ODBC_UNICODE=1; carton install

That's all I'd really do