View Ticket
Not logged in
Ticket Hash: 4fe74419ba5367c1e835749a6599fd7c545ca23d
Title: unichar.cpp(65):assert "Assert failure" failed in ToHi8bit(): character cannot be converted to single byte
Status: Open Type: Code_Defect
Severity: Important Priority:
Subsystem: Resolution:
Last Modified: 2020-10-05 12:03:34
Version Found In: 2.1.0-beta1
User Comments:
anonymous added on 2020-10-05 12:03:34:
As reported by jedei@club-internet.fr in Debian Bug #971698 (https://bugs.debian.org/971698):

"
 Hi,

 In spatialite_gui the following query causes a bug as soon as the "è" character is typed even before having executed the query : SELECT code_insee, nom_com, FROM communes_bdp WHERE nom_com = 'Anè
 [Error message]
 An assertion failed!
 ../src/common/unichar.cpp(65):assert "Assert failure" failed in ToHi8bit(): character cannot be converted to single byte

 The same query with sqlite3 and mod_spatialite works fine.

 I am using Linux debian 5.6.0-2-amd64 #1 SMP Debian 5.6.14-2 (2020-06-09) x86_64 GNU/Linux (Bullseye testing 20200622 with partial update (sqlite3, spatialite) 20201003)

 Best regards

 Michel
"

Attachment from the Debian bugreport:

 https://bugs.debian.org/cgi-bin/bugreport.cgi?att=2;bug=971698;filename=spatialite_capture_20201003.png;msg=5