Skip to main content
Question

attributesplitter can handle utf-8 code


Forum|alt.badge.img
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

takashi
Evangelist
  • August 19, 2015
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

Forum|alt.badge.img
  • Author
  • August 19, 2015
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

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