You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@sedona.apache.org by "hong-yangzhao (via GitHub)" <gi...@apache.org> on 2024/06/18 08:56:23 UTC
Re: [I] There was garbled code when reading Chinese from shp file [sedona]
hong-yangzhao commented on issue #1480:
URL: https://github.com/apache/sedona/issues/1480#issuecomment-2175569516
I found a solution to the issue of garbled text in issue #190. Adding the code:
```java
System.setProperty("sedona.global.charset","utf8");
```
solved the problem,
but the configuration mentioned on the official website using:
```sh
spark.driver.extraJavaOptions -Dsedona.global.charset=utf8
spark.executor.extraJavaOptions -Dsedona.global.charset=utf8
```
did not work.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@sedona.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org