Guten Tag [email protected],
am Montag, 26. Juli 2010 um 12:16 schrieben Sie:
$request->>{ original_log_message } = encode( "utf-8", $request->{
> $original_log_message } );
Normally encode will only function properly if you already have
a valid UTF-8 encoded string in Perl's internal format, means with set
UTF-8-flag. Else it will produce garbage because Perl doesn't know
what encoding your supplied data is in. If this really works it's
maybe because of your own special environment or because SCMBug
already provides valid Perl strings but Bugzilla doesn't handle them
properly, but needs encoded byte arrays.
http://perldoc.perl.org/Encode.html
> In my opinion, this is an issue that is caused by Bugzilla expecting
> UTF-encoded strings.
> It should not affect the use of other bug trackers with scmbug that
> possibly use other
> encodings.
The issue would be to expect UTF-8 encoded byte arrays because using
Perl's internal strings would be of much benefit, as you can encode
those strings in every charset you need and those strings tell
everyone that they are UTF-8 encoded strings already.
Mit freundlichen Grüßen,
Thorsten Schöning
--
Thorsten Schöning
AM-SoFT IT-Systeme - Hameln | Potsdam | Leipzig
Telefon: Potsdam: 0331-743881-0
E-Mail: [email protected]
Web: http://www.am-soft.de
AM-SoFT GmbH IT-Systeme, Konsumhof 1-5, 14482 Potsdam
Amtsgericht Potsdam HRB 21278 P, Geschäftsführer: Andreas Muchow
_______________________________________________
scmbug-users mailing list
[email protected]
http://lists.mkgnu.net/cgi-bin/mailman/listinfo/scmbug-users