[Kmymoney-devel] [Bug 259605] New: Detect encoding when update an online quote

Jose Arthur Benetasso Villanova jose.arthur at gmail.com
Sun Dec 12 14:55:37 CET 2010


https://bugs.kde.org/show_bug.cgi?id=259605

           Summary: Detect encoding when update an online quote
           Product: kmymoney4
           Version: SVN trunk
          Platform: Compiled Sources
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: minor
          Priority: NOR
         Component: general
        AssignedTo: kmymoney-devel at kde.org
        ReportedBy: jose.arthur at gmail.com


Created an attachment (id=54458)
 --> (http://bugs.kde.org/attachment.cgi?id=54458)
Detect encoding and convert it no unicode

Some banks use iso-8859-1 or other encoding in their pages. Because of this,
regular expressions with accents fails to match. Example:

Page:
https://webp.caixa.gov.br/fundos/lista_fundos_voce.asp?Link=voce&flag_internet=

Regular expression:
FI AÇÕES PETROBRAS&nbsp 10\/07\/00 1,50 \d{2,2}/\d{2,2}/\d{2,2}&nbsp&nbsp
(\d+,\d+)

Attached, a patch to mitigate the problem.

azlev.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the KMyMoney-devel mailing list