#10756 closed enhancement (fixed)
Improve POT file generator
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | WordPress.org site | Version: | |
| Severity: | normal | Keywords: | |
| Cc: |
Description
Please implement following enhancements for POT file generator:
- use UTF-8 enconfig. Now it removes all non-ascii characters, at least in author's name (you can check this with my plugins);
- read plugin name and put it in Project-Id-Version header (maybe version too);
- set charset in Content-Type header to UTF-8.
Change History (3)
comment:1
nbachiyski — 3 years ago
- Owner changed from ryan to nbachiyski
- Status changed from new to accepted
comment:2
nbachiyski — 3 years ago
- Resolution set to fixed
- Status changed from accepted to closed
Note: See
TracTickets for help on using
tickets.

All done.
The problem with author's name was caused by escapeshellarg(), which trims non-ASCII characters if the system locale encoding isn't UTF-8.
I also made the code, which set the project name and versions not depend on newer version of xgettext.