Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Style Categorized : The generation of CartoCSS fails if there is data with special characters #31

Closed
dersteppenwolf opened this issue Aug 6, 2015 · 2 comments
Assignees
Labels

Comments

@dersteppenwolf
Copy link
Member

OS: Windows
Example Data: "Antonio Nariño"
Dataset: test_ideca_localidades

Generated Style:

bogota_sitios_prostitucion_abril_2015[name="Antonio Nariテアo"] {

@elesdoar
Copy link
Contributor

elesdoar commented Aug 9, 2015

CartoCSS for test_ideca_localidades on Ubuntu

CartoCSS: /** Styles designed from QGISCartoDB Plugin */

#test_ideca_localidades {
  polygon-fill: #4be5d1;
  polygon-opacity: 1.0;
  polygon-comp-op: src-over;
  line-color: #000000;
  line-width: 1.0;
  line-opacity: 1.0;
  line-join: bevel;
  line-dasharray: 0;
}
#test_ideca_localidades[name="ANTONIO NARIÑO"] {
  polygon-fill: #f02495;
  polygon-opacity: 1.0;
  polygon-comp-op: src-over;
  line-color: #000000;
  line-width: 1.0;
  line-opacity: 1.0;
  line-join: bevel;
  line-dasharray: 0;
}

@elesdoar elesdoar self-assigned this Aug 10, 2015
@elesdoar
Copy link
Contributor

Default encoding in windows is LATIN1, Assuming CartoDB exports data in UTF-8, the error should be corrected by assigning encoding UTF-8 layers loaded from CartoDB 😄

It will be corrected at the next version.

http://qgis.org/api/classQgsVectorDataProvider.html#a95754bf8354a0208dcb43809e2c85042

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants