Hello,
I have ESRI shapefile where one attribute name contains 'ž' character. When I load this locally on my computer, when I specify in which coding the DBF file is saved, it reads it fine and I can store it in postgis database.
However when I publish that workspace to FME Cloud and run it there, this character is not displayed, all I see is this character: ?
When looking at translation logs - This one is when I have run the workspace from my computer:
2016-06-13 10:48:31| 1.6| 0.0|INFORM|DBF Reader: Detected character encoding `cp1250'
2016-06-13 10:48:31| 1.6| 0.0|INFORM|DBF File 'C:\Users\Radek\Desktop\Prace\FME\kvarnerCAD-rijeka\09062016_shift_pokusy\CRPNA_STANICA_1250.dbf' has fields: ID number(10,0), Ime char(50), Ulica_loka char(50), NUS char(50), Izvor_poda char(50), Napomena char(100), Fotografij char(150), Uporabna_d char(250), Godina_izg number(5,0), Vrsta_crpk char(250), Broj_crpki char(50), Kapacitet_ char(50), Snaga_moto char(50), Instaliran char(50), Angažirana char(50), Broj_okret char(50), Godina_crp char(50), Sito char(1), Otvor_sita char(50)
2016-06-13 10:48:31| 1.6| 0.0|INFORM|DBF Reader: Using user specified character encoding `cp1250'
And this one is when I run the workspace from FME cloud, the log I see when I look it up on my instance
2016-06-13 08:19:41| 0.2| 0.0|INFORM|DBF Reader: Detected character encoding `cp1250'
2016-06-13 08:19:41| 0.2| 0.0|INFORM|DBF File '/data/fmeserver/resources/system/temp/upload/import_test/unip_import9.fmw/5B53176DDAEE316E75A8D92DF9890C32/CRPNA_STANICA_1250.dbf' has fields: ID number(10,0), Ime char(50), Ulica_loka char(50), NUS char(50), Izvor_poda char(50), Napomena char(100), Fotografij char(150), Uporabna_d char(250), Godina_izg number(5,0), Vrsta_crpk char(250), Broj_crpki char(50), Kapacitet_ char(50), Snaga_moto char(50), Instaliran char(50), Anga?irana char(50), Broj_okret char(50), Godina_crp char(50), Sito char(1), Otvor_sita char(50)
2016-06-13 08:19:41| 0.2| 0.0|INFORM|DBF Reader: Using user specified character encoding `cp1250'
However when I download that log from cloud, I can see in the log ? as 'ž' character.
My first question is: How to solve this?
My second question is: Is there any way to 'unaccent' attribute names so that I remove these accents - for example Angažirana becomes Angazirana? I have found here on these forums how to unaccent attribute values, which again 1) works fine when run locally from my laptop (on windows), but I need to change attribute names, not values. My python knowledge is very basic.
Any help is more than welcome.
Thanks,
Radek