Bug report #14340
layer definition file load error
|Affected QGIS version:||2.10.1||Regression?:||No|
|Operating System:||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:||fixed/implemented|
|Crashes QGIS or corrupts data:||No|
I have an issue in load layer definition file .
When I create layer definition file as a new file, I can load it correctly.
But, When I create it as a overwrite file, I can't load it.
So, I have compare between new file and overwrite file. and I found difference in these files.
In new file, <datasource> was written by Absolute filePath.
In overwrite file, <datasource> was written by related filePath.
#5 Updated by Norihito Takahashi over 1 year ago
- File error.png added
- Assignee set to Jürgen Fischer
- Target version set to Version 2.14
I use QGIS in japanese. and, I have occurred an issue at qlr again...
I have created qlr in version Essen. but, it couldn't loaded correctly.
When I used in version Pisa, I could loaded qrl correctly.
So, I have compared qlr file created by Essen and created by Pisa.
I found difference that qlr file created by Essen was encoded "shit-jis" and japanese characters were garbled.
qlr file created by Pisa was encoded "utf-8" and japanese characters were correctly.
(I understood that file references are relative.)