Question

attributesplitter can handle utf-8 code

  • 19 August 2015
  • 2 replies
  • 2 views

Badge
Hello,

 

 

I use an AttributeSplitter in order to split an attribute like

 

 

TK25|UK50|DOK

 

 

The data is read from an database an comes as string. Some of the attribute i have to edit additionally, so for some of them i use an attribute creator to edit the attribute.

 

 

The attributecreator will code this attribute in utf-8 (as i use a pipe as seperator i assume) and it isn't split by the attributesplitter.

 

Can you help me?

 

 

Thanks

 

 

Isabell

 

 

 

2 replies

Userlevel 2
Badge +17
Hi Isabell,

 

 

?In my quick test, the AttributeSplitter worked fine.

 

 

============================================================

 

AttributeSplitter_Output: Feature is:

 

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

 

Feature Type: `AttributeSplitter_Output_LOGGED'

 

Attribute(encoded: utf-8): `_list{0}' has value `TK25'

 

Attribute(encoded: utf-8): `_list{1}' has value `UK50'

 

Attribute(encoded: utf-8): `_list{2}' has value `DOK'

 

Attribute(string)        : `fme_feature_type' has value `Creator'

 

Attribute(string)        : `fme_geometry' has value `fme_undefined'

 

Attribute(string)        : `fme_type' has value `fme_no_geom'

 

Attribute(encoded: utf-8): `src' has value `TK25|UK50|DOK'

 

Coordinate System: `'

 

Geometry Type: IFMENull

 

============================================================

 

 

If your AttributeSplitter doesn't work anyway, I recommend you to send your workspace to Safe support to investigate the reason.

 

 

Takashi
Badge
Hello,

 

 

i tried again and i found an error in my workspace! It works fine!

 

 

Thank you for your answer and sorry for bothering you!

 

 

Regards

 

 

Isabell

Reply