Opened 14 years ago

Closed 5 years ago

#3773 closed defect (wontfix)

OGR pg driver should launder unicode characters

Reported by: relet Owned by: warmerdam
Priority: low Milestone: closed_because_of_github_migration
Component: OGR_SF Version: unspecified
Severity: normal Keywords:
Cc:

Description

The current implementation of LaunderName() in the postgres driver for OGR ignores and preserves unicode characters. This turns field names like for example 'OMRÅDE' into 'omrÅde'.

Laundering should either

  • use proper case matching of unicode, e.g. using libunistring => 'område'
  • use replacement of unicode characters, e.g. => 'omraade' or 'omrade'
  • use improper replacement characters of unicode characters, e.g. => 'omr_de' or 'omrde' only if all else fails.

Change History (1)

comment:1 by Even Rouault, 5 years ago

Milestone: closed_because_of_github_migration
Resolution: wontfix
Status: newclosed

This ticket has been automatically closed because Trac is no longer used for GDAL bug tracking, since the project has migrated to GitHub. If you believe this ticket is still valid, you may file it to https://github.com/OSGeo/gdal/issues if it is not already reported there.

Note: See TracTickets for help on using tickets.