Bug report #17834

Processing Scripts don`t preserve utf 8 encoding

Added by Christian Metzger almost 4 years ago. Updated almost 4 years ago.

Status:Closed
Priority:Normal
Assignee:Christian Metzger
Category:Any
Pull Request or Patch supplied:No

Description

In QGIS 2.18.15 utf 8 encoding (Lao script) isn`t preserved when running a script. The same issue could be confirmed in QGIS 2.14.

Test_encoding_problem.7z - shapefile with Laoscript under column owner (9.85 KB) Christian Metzger, 2018-01-10 01:15 PM

ScriptExample.png (34.8 KB) Christian Metzger, 2018-01-16 06:26 AM

History

#1 Updated by Christian Metzger almost 4 years ago

  • Assignee set to Christian Metzger
  • Status changed from Open to Closed
  • File ScriptExample.png added
I could find a solution by myself.
  1. coding: utf-8
    needs to be paste in the first line of the script (edit script)
    After saving the modified script utf 8 encoding should be preserved.

Also available in: Atom PDF