category dialog box and accents

Bug #321237 reported by Gillou
2
Affects Status Importance Assigned to Milestone
HomeBank
Fix Released
Medium
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.

Revision history for this message
Gillou (gilles-muller) wrote :
Revision history for this message
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
Revision history for this message
Maxime DOYEN (mdoyen) wrote :

Fixed for next release.

Changed in homebank:
status: In Progress → Fix Committed
Revision history for this message
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.