#7065 closed defect (fixed)
Issue on Windows with non-ASCII characters and command line utilities
Reported by: | kobahiro | Owned by: | warmerdam |
---|---|---|---|
Priority: | normal | Milestone: | 2.3.0 |
Component: | Utilities | Version: | unspecified |
Severity: | normal | Keywords: | |
Cc: |
Description
gdaladdo can create pyramid with 1-byte file name gdaladdo can not create pyramid with 2-byte file name
Attachments (1)
Change History (11)
by , 7 years ago
Attachment: | GDAL_05.gif added |
---|
comment:1 by , 7 years ago
Summary: | gdaladdo does not create pyramid if file name includes 2-byte characters → Issue on Windows with non-ASCII characters and command line utilities |
---|
comment:2 by , 7 years ago
Thank you Rouault. I could create pyramid (overlay) with "--config GDAL_FILENAME_IS_UTF8 NO" Thanks again!
comment:3 by , 6 years ago
I will leave my comment here, as my ticket 7142 was closed with a referral to this ticket.
My issue could not be solved using the "GDAL_FILENAME_IS_UTF8" parameter. This option only refers to path parameters and not to the rest of the command line values. Non ASCII characters (not uncommon in most languages) can occur in every feature source name, layer name and attribute name.
This seems quite an issue for quite a share of command line users under Windows.
Maybe this comment about the Unicode Windows API helps?
comment:6 by , 6 years ago
Component: | default → Utilities |
---|---|
Milestone: | → 2.3.0 |
comment:9 by , 6 years ago
@Even Rouault Thanks you very much for the changes! In my case 7142 special characters are working now.
This is probably an issue with the code page of your Windows terminal.
You might try to add "--config GDAL_FILENAME_IS_UTF8 NO" to your command line, to specify that the filename is in the current code page of your terminal
Alternatively you could try to modify the code page of your terminal to be UTF-8