Problems using DBI with mySQL

Problems using DBI with mySQL

am 28.03.2003 09:59:59 von Ralf Heydenreich

Hi all,

I've just upgradet my DBD::mysql. After launching a CGI script which
uses this module I found that the german umlauts aren't displayed
properly. Each of them is displayed as a question mark ("?"). The
former version has it displayed correctly. Have I to set some
environment variables or so?


--
Regards,


Ralf H.
_______________________________________________________[RH]_ __

E-Mail: rheydenr@htwm.de
Internet: http://www.htwm.de/rheydenr/




--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=gcdmp-msql-mysql-modules@m .gmane.org

Re: Problems using DBI with mySQL

am 28.03.2003 10:49:42 von Jochen Wiedmann

Zitiere Ralf Heydenreich :

> I've just upgradet my DBD::mysql. After launching a CGI script which
> uses this module I found that the german umlauts aren't displayed
> properly. Each of them is displayed as a question mark ("?"). The
> former version has it displayed correctly. Have I to set some
> environment variables or so?

I would assume that you did not only upgrade DBD::mysql, but
another component as well, be it MySQL or Perl. In that case
I would look for the reason in the other components: The driver
does not do any encoding related things.

If you still think you have reason to believe that the driver
does something wrong, please post a small example script, that
creates a table, inserts data and fetches the same data to show
that somethings wrong.


Jochen

--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=gcdmp-msql-mysql-modules@m .gmane.org

Re: Problems using DBI with mySQL

am 28.03.2003 10:49:42 von Jochen Wiedmann

Zitiere Ralf Heydenreich :

> I've just upgradet my DBD::mysql. After launching a CGI script which
> uses this module I found that the german umlauts aren't displayed
> properly. Each of them is displayed as a question mark ("?"). The
> former version has it displayed correctly. Have I to set some
> environment variables or so?

I would assume that you did not only upgrade DBD::mysql, but
another component as well, be it MySQL or Perl. In that case
I would look for the reason in the other components: The driver
does not do any encoding related things.

If you still think you have reason to believe that the driver
does something wrong, please post a small example script, that
creates a table, inserts data and fetches the same data to show
that somethings wrong.


Jochen

--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=gcdmp-msql-mysql-modules@m .gmane.org