category dialog box and accents

Bug #321237 reported by Gillou on 2009-01-25
Affects Status Importance Assigned to Milestone
Maxime DOYEN

Bug Description

It is not possible to type characters with accents in the category dialog box.
I'm using homebank 4.0.1 in linux, with utf8.
I looked into the source code, and the problem comes from the isprint() function that filters 2 bytes characters.
I modified the code to use the wide character function iswprint() instead. It works for me.
Attached is the file with the modifications. Feel free to use/modify/delete the few lines I added.

Gillou (gilles-muller) wrote :
Maxime DOYEN (mdoyen) wrote :

In fact the isprint test is not necessary, so we can remove it.
The main goal of the fil;ter is to avois the user to saise a ":" not other chars.

Changed in homebank:
assignee: nobody → mdoyen
importance: Undecided → Medium
status: New → In Progress
Maxime DOYEN (mdoyen) wrote :

Fixed for next release.

Changed in homebank:
status: In Progress → Fix Committed
Maxime DOYEN (mdoyen) wrote :

Fixed for v4.0.2.

Changed in homebank:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers