Quantcast
Channel: Data Services and Data Quality
Viewing all articles
Browse latest Browse all 236

Loading special characters from a flat file to target table

$
0
0

Scenario:

 

     To load special characters such as non-English characters  from a flat file(.txt) to target table whose code page is set to UTF-8 .

 

In order to load special characters from a flat file to target table we need to set appropriate code page or encoding   in :

 

a)   a)    In the source file

 

We need to set the encoding of source file to utf-8. This differs based on the text editor we use. Below mentioned are the steps for changing the encoding in notepad.

 

 

File --> Save As . Change the encoding to UTF-8

 

 

1.png

b)    b)   Flat file properties.

 

    In BODS, normally the code page is set to <default> in flat file properties  as given below:

2.jpg

     Change it to utf-8.

 

     3.jpg

 

c)Datastore properties

 

    Go to the target data store properties in BODS. Normally the code page is set to <default> as given below:

 

4.jpg

 

 

 

    

      Change Code page and Server code page to utf-8.

 

   5.jpg


Viewing all articles
Browse latest Browse all 236

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>