Opened 11 months ago

Last modified 11 months ago

#11708 new defect

[Patch] Unicode field names in SQLTable macro

Reported by: theYT <dev@…> Owned by: rjollos
Priority: normal Component: WikiTableMacro
Severity: normal Keywords: unicode
Cc: Trac Release: 1.0


Error occured when using non-ASCII text as field name (as table header). Values are ok.


SELECT 'test' as '한글'

Patch file attached. (tested with r13683)

Attachments (1) (515 bytes) - added by theYT <dev@…> 11 months ago.

Download all attachments as: .zip

Change History (3)

Changed 11 months ago by theYT <dev@…>

comment:1 Changed 11 months ago by jun66j5

No. to_unicode() is not needed. We should use get_column_names() instead of cursor.description directly.

comment:2 Changed 11 months ago by rjollos

Thanks for the feedback. I'll apply a patch that uses get_column_names.

Add Comment

Modify Ticket

as new The owner will remain rjollos.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.