Skip Menu |

This queue is for tickets about the SQL-Translator CPAN distribution.

Report information
The Basics
Id: 71399
Status: resolved
Priority: 0/
Queue: SQL-Translator

People
Owner: Nobody in particular
Requestors: MAUKE [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.11009
Fixed in: 0.11011



Subject: sqlt-diagram produces garbage output in utf-8 environment
% sqlt-diagram -d PostgreSQL schema.sql >dia.png && file dia.png dia.png: data % LC_ALL=C sqlt-diagram -d PostgreSQL schema.sql >dia.png && file dia.png dia.png: PNG image data, 603 x 359, 4-bit colormap, interlaced % echo $LANG en_US.UTF-8 % echo $PERL_UNICODE SAL So: sqlt-diagram generates garbage output if my environment says that my text data should be UTF-8. This is probably caused by treating binary data as text, e.g. a missing 'binmode' before output.
Merged to master. Thanks!