dump file may be unreadable by bufr_encoder when LC_ALL is defined
Bug #640517 reported by
vanh souvanlasy
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libECBUFR |
Fix Committed
|
Medium
|
vanh souvanlasy |
Bug Description
When internationalis
contains printed values that are also internationalized, i.e. all fractions are formatted differently.
For example, in english 1.234 but in french, it would be 1,234, etc...
Currently, the character "," is used as a delimiter in the parser, with some modifications, it is possible to read back
printed string if LC_ALL is defined to use the same language.
However that will still break the encoder if dump file were not created in the same language as the encoder,
and this will make things really complicated.
Changed in libecbufr: | |
assignee: | nobody → vanh souvanlasy (vanh-souvanlasy) |
importance: | Undecided → Medium |
status: | New → Confirmed |
To post a comment you must log in.
Solution is to force all dump file to be created in english only and to force re-encoding in english also. ation.
Changes were done throught bufr_decoder.c and bufr_encoder.c by setting LC_ALL=en_US before enabling internationalis
commited to trunk rev.149 and to branch 0.8.2 rev.108