On 18.05.2012 20:21, Petr Mladek wrote:
1. Novell bugzilla does not return any title.
Yeah, it requires login...
2. The titles from other bugzillas were ignored because "-" in the title
was wide character here. I am not sure why it worked for you.
Probably something with UTF-8 locales. Anyway, I solved it by
replacing:
- if ( $title =~ s/^Bug \d+ - // ) {
+ if ( $title =~ s/^Bug \d+ . // ) {
It is not perfect but... Any better solution is welcome.
I simply copied that character (en dash) from what the $response->title
returns and pasted it to the regular expression...
Maybe adding 'use utf8;' to the script will solve the problem?
If you agree with my changes, I will push it also for 3-5 branch.
Sure!
Thanks for reviewing,
Ivan
Context
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.