Skip to main content
Question

Spatialite and encoding


I have some shapefiles which FME reads and then writes the data to PostGIS. I have added a Spatialite writer to the workspace as well as I have some users that need file based access to the data.

 

 

The data loads into PostGIS fine and I can see the Norwegian characters æ, ø and å fine.

 

 

But the data loads into Spatialite with these characters replaced.

 

 

The data is writen to PostGIS and spatialite in the same workspace, so it goes through the same transformers etc.

 

 

Can anyone suggest how I can fix this?

2 replies

fmelizard
Contributor
Forum|alt.badge.img+17
  • Contributor
  • August 22, 2013
Hi,

 

 

Have you tried setting the character encoding setting in the writer parameters?

  • Author
  • August 22, 2013
Thanks for the reply.

 

 

I set the encoding of the source data (iso-8859-1) and the output dataset (utf-8) and it worked. 

 

 

I was almost certain I had done this yesterday and it didnt work. 

 

 

Well today it works. Thanks again.

 


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings