Ticket #43 (closed defect: fixed)

Opened 8 years ago

Last modified 7 years ago

Bug: Crashes on files with encodings not being UTF-8

Reported by: phil Owned by: armin
Priority: normal Milestone: Gobby 0.2.0
Component: Gobby Version: 0.1.0
Severity: major Keywords: bug
Cc: Launchpad Bug:

Description

Gobby should not crash with a segmentation fault when one tries to open files not encoded in UTF-8. Instead it should either check the document for UTF-8 validity and prompt the user for the right encoding if it does not match, and translate it appropriately, or just refuse to open it (but the former would be more acceptable than the latter).

Change History

Changed 8 years ago by tw-public@…

Would love see this one fixed!

I tried to edit some MoinMoin? python source code and it crashed, crashed, crashed.

Well, all files were (c) Ju:rgen Hermann and iso-8859-1 encoding...

Changed 8 years ago by phil

Just use iconv -f iso-8859-1 -t utf-8 [file] > file.utf-8 for now. But it will be fixed for Gobby 0.2.0.

Changed 8 years ago by libobby

  • status changed from new to closed
  • resolution set to fixed

(In [265]) /gobby: changeset Try to convert files with other encodings to UTF-8 [fixes #43] Original author: Armin Burgmeier <armin@…> Date: 2005-07-25 10:10:55

Note: See TracTickets for help on using tickets.