Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 306394 Details for
Bug 441833
Additional charset conversion is performed.
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Proposed patch to assume UTF8 locale
smbldap-tools-0.9.5-utf-8.patch (text/plain), 1.24 KB, created by
Paul Howarth
on 2008-05-22 15:51:35 UTC
(
hide
)
Description:
Proposed patch to assume UTF8 locale
Filename:
MIME Type:
Creator:
Paul Howarth
Created:
2008-05-22 15:51:35 UTC
Size:
1.24 KB
patch
obsolete
>--- smbldap-tools-0.9.5/smbldap_tools.pm 2008-05-22 12:18:05.000000000 +0100 >+++ smbldap-tools-0.9.5/smbldap_tools.pm 2008-05-22 15:50:58.000000000 +0100 >@@ -826,7 +826,7 @@ > foreach my $attr ( $entry->attributes ) { > my @vals = $entry->get_value($attr); > foreach my $val (@vals) { >- $val = "**UNPRINTABLE**" if ( $val =~ /[^[:print:]]/ ); >+ $val = "**UNPRINTABLE**" if ( $val =~ /\P{IsPrint}/ ); > } > $lines .= $attr . ": " . join( ',', @vals ) . "\n"; > } >@@ -854,7 +854,7 @@ > foreach my $attr ( $entry->attributes ) { > my @vals = $entry->get_value($attr); > foreach my $val (@vals) { >- $val = "**UNPRINTABLE**" if ( $val =~ /[^[:print:]]/ ); >+ $val = "**UNPRINTABLE**" if ( $val =~ /\P{IsPrint}/ ); > } > if ( $attr eq "sambaPwdLastSet" > or $attr eq "sambaPwdCanChange" >@@ -1213,7 +1213,7 @@ > > return to_utf8( > -string => $arg, >- -charset => 'ISO-8859-1', >+ -charset => 'UTF8', > ); > } > >@@ -1222,7 +1222,7 @@ > > return from_utf8( > -string => $arg, >- -charset => 'ISO-8859-1', >+ -charset => 'UTF8', > ); > } >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 441833
: 306394