https://bugzilla.novell.com/show_bug.cgi?id=846591
https://bugzilla.novell.com/show_bug.cgi?id=846591#c3
--- Comment #3 from Johannes Meixner 2013-10-18 16:39:37 CEST ---
Oops, I should have at least reported the code until the last statement
ends - this is the complete last statement with line numbers:
------------------------------------------------------------------------------
1574 unified_nickname = Builtins.filterchars(
1575 Builtins.tolower(nickname),
1576 Ops.add(@lower_alnum_chars, "+")
1577 )
------------------------------------------------------------------------------
where @lower_alnum_chars is also /usr/share/YaST2/modules/Printer.rb
(with line numbers and long lines wrapped here):
------------------------------------------------------------------------------
88
89 # Explicite listing of all alphanumeric ASCII characters.
90 # The reason is that in certain special locales for example [a-z]
is not equivalent
91 # to "abcdefghijklmnopqrstuvwxyz" because in certain special
languages the 'z' is
92 # not the last character in the alphabet, e.g. the Estonian
alphabet ends
93 # with ... s ... z ... t u v w ... x y (non-ASCII characters
omitted here)
94 # so that [a-z] would exclude t u v w x y in an Estonian locale.
95 # Therefore uppercase and lowercase characters are both
explicitly listed
96 # to avoid any unexpected result e.g. of
"tolower(uppercase_characters)".
97 @number_chars = "0123456789"
98 @upper_chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
99 @lower_chars = "abcdefghijklmnopqrstuvwxyz"
100 @letter_chars = Ops.add(@upper_chars, @lower_chars)
101 @alnum_chars = Ops.add(@number_chars, @letter_chars)
102 @lower_alnum_chars = Ops.add(@number_chars, @lower_chars)
103
------------------------------------------------------------------------------
Because this is all plain ASCII I do not understand how there could be
an issue with an "invalid byte sequence in UTF-8"?
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.