Import of csv (utf-8) - character encoding problems

Hello

I added and reverse the CSV engineered for my project - like flat file source and I him have prolems with character encoding. If I click on "Show data", the national characters are displayed incorrectly. The same incorrect characters are saved in the database (oracle table). How can I set a correct encoding for the flat file get accurate data, it appears correctly in the studio of the odi and manage them properly during the recording of data? I don't see the coding for the flat file settings. Where it should be fixed?

You can set the character encoding in the scheme of physics using the Properties tab.

http://gerardnico.com/doc/ODI/Webhelp/en/refmanual/connexion/jdbcdriversample.htm

Does that help?

Tags: Business Intelligence

Similar Questions

  • Choose the UTF-8 character encoding

    I've had problems in the last two weeks, resulting in the page crashes, Force stops, restarts, and I have no idea of what was the cause. I have updated Flash and Java and Mac. DoubleClick/eBay javascript files have appeared on my desk, for unknown reasons. In desperation, I decided to change coding in Safari in Unicode UTF-8, and for this reason, or as by chance, the problems seem to be outstanding. Cause or coincidence? Can anyone shed any light my way?

    Furthermore, I tend to use the values by default as much as possible because I don't know what my meddling would do.

    I know that Unicode is an important choice developers must take into account when writing pages but it's a good choice for end users like me? It choose in preferences does web pages behave differently in Safari?

    Nowadays almost all web pages should have code in it that tells all browsers to automatically switch to utf-8 or other coding.  Default for th browser settings have no effect when the author of the web page mistakenly forgot to include any character set = statement in his code.  So, normally, it would be unimportant.  But if it helps with the pages you look at, by all means use it.

    Another possibility is when a page is on a badly configured server that tells the browser to use a set of different characters, such as Latin 1, when the page is labeled utf8.  I hope that should also be very rare these days.

  • How to check if the database has Unicode (UTF-8) character encoding?

    Trying to figure out how to check the database to see if it is set to "UTF-8"?

    Thank you

    Might as well add these links for any future reference (from 10.2 docs), where the latter is a whole chapter on the use of Unicode:
    http://download.Oracle.com/docs/CD/B19306_01/server.102/b14225/ch2charset.htm#sthref144
    http://download.Oracle.com/docs/CD/B19306_01/server.102/b14225/ch6unicode.htm#g1014017

  • [LIKE, CS4] Import and export text file that contains the tag: encoding problem

    Hello

    I have a script that exports a text selection into a temporary folder (Unicode) text file with label. This file is then loaded in a variable AS and transformed line-by-line for some changes to the text. Subsequently a new text file with the modified content is written.

    Up to CS2 (and 10.4 PPC) this script worked like a charm. He stopped working with the new system and Intel. Meanwhile, I discovered that it must have something to do with encoding problems. «Everything in the old writing with ' as a unicode text "forced a mistake (since AS 2 each text is processed as UTF - 16), so I changed these lines to ' as text '.»

    In addition, I realized, that InDesign exports to tag text Unicode like UTF-16 (little endian), but importing tagged text to UTF-16BE (big-endian). "As variables and" write iconv ' command uses MACROMAN, so I added a few conversions with ""and it worked.

    Unfortunately the last conversion of MACROMA in UTF-16BE converts all spaces in the output string en normal spaces.

    I am therefore a little at my end of the problem. Can someone help me please?

    See you soon

    Tobias

    [InDesign 6.0.4 with AppleScript on Mac OS v2.0.1 X 10.5.8, Intel]

    A code for the relevant parts:

    Export as referenced text selection:

    on TMPexportTaggedText(myFileName, myText, myEncoding)
        tell application "Adobe InDesign CS4"
            tell tagged text export preferences
                if myEncoding = "ascii" or myEncoding = 1 then
                    set character set to ASCII
                else if myEncoding = "ansi" or myEncoding = 2 then
                    set character set to ansi
                else if myEncoding = "unicode" or myEncoding = 3 then
                    set character set to unicode
                else if myEncoding = "jis" or myEncoding = 4 then
                    set character set to shift JIS
                else if myEncoding = "gb" or myEncoding = 5 then
                    set character set to GB18030
                else if myEncoding = "ks" or myEncoding = 6 then
                    set character set to KSC5601
                else
                    set character set to ansi
                end if
                set tag form to abbreviated
            end tell
            export myText format tagged text to (myFileName) without showing options
        end tell
        tell application "Finder"
            try
                do shell script "iconv -f UTF-16LE -t UTF-16 " & (POSIX path of myFileName) & " > " & (POSIX path of myFileName) & "1"
                set myFileName to myFileName & "1"
            end try
        end tell
    end TMPexportTaggedText
     
    

    Line and placement in InDesign (circleLines not the textual changes and throw a string with):

    set theOutput to my circleLines(IN_File & "1", myOptions)
        
    if theOutput ≠ "" then
      tell application "Finder"
        open for access file (OUT_File & "1") with write permission
        write (theOutput) to file (OUT_File & "1")
        close access file (OUT_File & "1")
        try
           do shell script "iconv -f MACROMAN -t UTF-16BE " & (POSIX path of (OUT_File & "1")) & " > " & (POSIX path of OUT_File)
           do shell script "cat " & (POSIX path of OUT_File) & " | tr '\\n' '\\r'"
        end try
      end tell
    end if
        
    place (OUT_File) on curSel without showing options
    
     
    

    The string output with

        write (theOutput) to file (OUT_File & "1") as unicode text
    
    an error of InDesign (bodychecking).

    The problem is not as long as ID's export is little-endian - someone ' one has not heard of Intel chips - but it does not add a byte order mark. If you add a BOM, the problem should go away. Here's how you can add a Bill adapted to an exported file to tag:

    the fileRef value (open for access file "Macintosh HD:Users:shane:Desktop: Untitled - 16.txt" with write permission)

    the value of x to read fileRef

    Set x to character id {711, 731} & x - add THE BOM

    write x to fileRef starting with 0

    FileRef close access

    Then you can read it using "text Unicode", and it should also cross-platform very well.

    And stop putting your file read/write inside blocks Finder - is not the business of the Finder.

  • I've been using firefox 15.0. I have a problem with character encoding in the sites of gmail and youtube

    I have check the character encoding, but another site work fine.now my character encoding showing unicdoe (UTF - 8)
    I tried to change the iso (88591) West, but it does not change the symbol question mark filled diamond site. symbol of the diamond showing gmail page with an exclamation mark.

    Hello rashgang, enter Subject: config in the address bar of firefox (confirmed the message information where it appears) & get preference named network.http.accept - encoding -right click and restore the default value for that entry.

    If this does not solve the problem already, please also go through the steps to the Web sites look bad or appear differently than they should.

  • Why, after all these years, can not Thunderbird automatically detect the character encoding

    Judging by all existing messages and complaints on this issue, not to mention the erroneous messages that say that the problem is resolved when it is not, I must conclude Mozilla either does not believe it is a problem or doesn't care to fix it. The key is that there is no way to tell Thunderbird to automatically display the emails in the character encoding format that they were written in. I could understand the case where headers are not properly filled, but I see tons of emails in which coding is clearly in the headers in the message source. You can force, but if you do the menu VIEW-> encoding-> UTF8 character (for example) it doesn't 'glue' If you post another message. But who wants him 'stick' at all times even when? What the average user really wants is to be able to toggle the VIEW-> character encoding-> auto detect the default 'off' value simply "on" and don't have to bother with it more.

    This is a problem that seems to go on forever, and it NEVER happens with other e-mail clients. If there is some backdoor way to actually autodetect working, I would know about it. But more importantly, I think that all users would appreciate it if this was not some secret arrangement 'backdoor', but a choice of menus overall simple for all accounts. Can Mozilla if you please fix this problem once and for all?

    Can you tell us what you heard:
    Tools > Options > advanced > general tab
    Click on Config Editor

    At the top of the search page of type:
    Mailnews.force_charset_override; Value = "false".

    Do you like value... true or false?
    If Value = 'True', double click on the line to switch to "false".

    close window - top right X
    Click OK to save the changes to the Options.
    Close and reopen Thunderbird.

  • Menu bar 'View' drop-down menus do not work except option 'character encoding '.

    V33.0.1 FF
    For past several updates I asked problems with drop-down menus. 'See' on the Menu bar is an exzmple. Pnly 'Character encoding' option works correctly. Similar problem occurs in many other places including LastPass extension which I use a lot.

    An empty menu appears right without entries. But the problem is not consistent.

    Heals the problem to the menu bar of FF and other questions of FF from FF in safe mode. But I can't find which plugin or extension is causing the problem.

    All ideas

    Hello makatikid, try Disabling graphics hardware acceleration and check again.

    You will have to perhaps restart Firefox for it to take effect, so save any work first (e.g. you compose mail, documents online that you are editing, etc.).

    Then perform the following steps:

    1. Open the Firefox Options window as follows:

      • Click the menu button

        and select Options

    2. In the Options of Firefox window, click the Advanced tab, and then select general.
    3. You will find in the list of parameters, the checkbox use hardware acceleration when available . Clear this check box.
    4. Now restart Firefox and see if the problems persist.

    In addition, please check the updates for your graphics driver by following the steps in the following knowledge base articles:

    In firefox safe mode, hardware acceleration is disable.

    Thank you.

  • Menu of character encoding does not

    I have updated the app today to the latest version. When I tried to change the character encoding on a Web site that does not display properly, I found that by selecting another encoding did nothing except check the circle next to it.
    The only thing I could do from there was to click on cancel or press return on my phone. It becomes a bit annoying surfing a few sites now since I can't fix the coding.

    I filed bug https://bugzilla.mozilla.org/show_bug.cgi?id=1003897

    It seems that this problem is fixed on Firefox 30. As a workaround, you might be interested to install Firefox Beta out Google tomorrow when update us. It will be 30 Firefox.

  • BrowserField encoding problem

    Hello! Please, help me! I spent almost all day, but have had no success. My BrouserField is showing '? ' characters instead of the non-English characters.
    I need to get the Ribbon XML, analyze and display in the BrowserFiled.
    I use these classes:

    (1) WaitScreen - PopupScreen from the example of knowledge base

    public class WaitScreen extends PopupScreen {
    
        private LabelField _ourLabelField = null;
    
        private WaitScreen(String text) {
            super(new HorizontalFieldManager());
            VerticalFieldManager _vfm = new VerticalFieldManager();
            _ourLabelField = new LabelField(text, Field.FIELD_HCENTER);
            _vfm.add(_ourLabelField);
            this.add(_vfm);
            this.setBackground(BackgroundFactory.createSolidTransparentBackground(Color.BLACK, 225));
        }
    
        public static void showScreenAndWait(final Runnable runThis, String text) {
            final WaitScreen thisScreen = new WaitScreen(text);
            Thread threadToRun = new Thread() {
                public void run() {
                    // First, Waintdisplay this screen
                    UiApplication.getUiApplication().invokeLater(new Runnable() {
                        public void run() {
                            UiApplication.getUiApplication().pushScreen(thisScreen);
                        }
                    });
                    // Now run the code that must be executed in the Background
                    try {
                        runThis.run();
                    } catch (Throwable t) {
                        t.printStackTrace();
                        throw new RuntimeException("Exception detected while waiting: " + t.toString());
                    }
                    // Now dismiss this screen
                    UiApplication.getUiApplication().invokeLater(new Runnable() {
                        public void run() {
                            UiApplication.getUiApplication().popScreen(thisScreen);
                        }
                    });
                }
            };
            threadToRun.start();
        }
    }
    

    (2) RSSHandler - class auxiliary for analysis

    public class RSSHandler extends DefaultHandler {
        boolean isItem = false;
    
        boolean isTitle = false;
        boolean isLink = false;
        boolean isDescription = false;
        boolean isPubDate = false;
        boolean isGuid = false;
    
        public String[] title = new String[] {};
        public String[] link = new String[] {};
        public String[] description = new String[] {};
        public String[] pubDate = new String[] {};
        public String[] guid = new String[] {};
        String value = "";
    
        public void startElement(String uri, String localName, String name,
                Attributes attributes) throws SAXException {
            if (!isItem) {
                if (name.equalsIgnoreCase("item"))
                    isItem = true;
            } else {
                if (name.equalsIgnoreCase("title"))
                    isTitle = true;
                if (name.equalsIgnoreCase("link"))
                    isLink = true;
                if (name.equalsIgnoreCase("description"))
                    isDescription = true;
                if (name.equalsIgnoreCase("pubDate"))
                    isPubDate = true;
                if (name.equalsIgnoreCase("guid"))
                    isGuid = true;
            }
        }
    
        public void characters(char[] ch, int start, int length)
                throws SAXException {
            if (isTitle || isLink || isDescription || isPubDate || isGuid)
                value = value.concat(new String(ch, start, length));
        }
    
        public void endElement(String uri, String localName, String name)
                throws SAXException {
            if (isItem && name.equalsIgnoreCase("item"))
                isItem = false;
            if (isTitle && name.equalsIgnoreCase("title")) {
                isTitle = false;
                Arrays.add(title, value);
                value = "";
            }
            if (isLink && name.equalsIgnoreCase("link")) {
                isLink = false;
                Arrays.add(link, value);
                value = "";
            }
            if (isDescription && name.equalsIgnoreCase("description")) {
                isDescription = false;
                Arrays.add(description, value);
                value = "";
            }
            if (isPubDate && name.equalsIgnoreCase("pubDate")) {
                isPubDate = false;
                Arrays.add(pubDate, value);
                value = "";
            }
            if (isGuid && name.equalsIgnoreCase("guid")) {
                isGuid = false;
                Arrays.add(guid, value);
                value = "";
            }
        }
    }
    

    (3) CaptionScreen (screen with BrowserField I need to show the result of the XML parsing)

    public class CaptionScreen extends MyMainScreen
    {
        private BrowserField _browserField;
    
        public CaptionScreen(Application app, String section)
        {
             //....
             GetArticles getArticles = new GetArticles("http://" + _urlWithArticles, _browserField);
             WaitScreen.showScreenAndWait(getArticles, "LOADING");
        }
    
        static class GetArticles implements Runnable {
            String _url = null;
            BrowserField _resultBrowser;
    
            public GetArticles(String urlToGet, BrowserField resultBrowser) {
                this._url = urlToGet;
                this._resultBrowser = resultBrowser;
            }
    
            public void run() {
                // Try to download new articles and parse the answer
                HttpConnection httpConn = null;
                InputStream is = null;
                RSSHandler rssHandler = new RSSHandler();
    
                try {
                    httpConn = GetConnection(_url);
    
                    is = httpConn.openInputStream();
                    try {
                        SAXParser parser = SAXParserFactory.newInstance().newSAXParser();
                        parser.parse(is, rssHandler);
                    }
                    catch (ParserConfigurationException e) {
                        e.printStackTrace();
                    }
                    catch (SAXException e) {
                        e.printStackTrace();
                    }
                    catch (IOException e) {
                        e.printStackTrace();
                    }
                } catch (IOException ioe) {
                } catch (Exception e) {
                } finally {
                    try {
                        if ( httpConn != null ) {
                            httpConn.close();
                        }
                    } catch (Exception e) {
                    }
                    httpConn = null;
                }
    
                final String htmlArticles = generateHtml(rssHandler);
                UiApplication.getUiApplication().invokeLater(new Runnable() {
                    public void run() {
                        _resultBrowser.displayContent(htmlArticles, "");
                    }
                });
            }        
    
            // Method for html generation to showing in BrowserField
            private String generateHtml(RSSHandler rssHandler) {
                String result = "";
                if(rssHandler == null) {
                    return result;
                }
                result += "News";
    
                for(int i = 0; i < rssHandler.title.length; i++) {
                    result += rssHandler.title[i] + "
    " + "LINK
    " + rssHandler.description[i] + " "; } result += ""; return result; } private HttpConnection GetConnection(String _url) throws IOException { if (DeviceInfo.isSimulator()) { _url = _url + ";deviceSide=true"; } MyConnFact _myConnFact = new MyConnFact(); HttpConnection _httpConn = null; ConnectionDescriptor _connDesc = _myConnFact.getConnection(_url); if (_connDesc != null) { _httpConn = (HttpConnection)_connDesc.getConnection(); } return _httpConn; } } }

    It works very well (showing WaitScreeen, data download), but all characters not English shows as '?'
    I found a few discussions with the same problem (especially this one)

    http://supportforums.BlackBerry.com/T5/Java-development/how-to-show-other-languages-in-BrowserField/...

    and this one

    http://supportforums.BlackBerry.com/T5/Java-development/BrowserField-can-not-display-UTF-8-character...

    but I don't understand, how and where do I I implemented HttpConnection in my code.
    Please, give me advice or tell, how I change my code to solve this problem?

  • How to set the character encoding in Blackberry

    Hello

    In my application, I get the data using http server methods...

    now my question is that, in that the data is seen some like that

    ex: Córdoba, but inside, I do not like this...

    After some R and D, I thought that I have to set the character encoding...

    can someone tell me how to set the character encoding and how I can get all languges in my application

    See below the code for reference

     HttpConnection c = null;
                        InputStream is = null;
                        DataOutputStream os = null;
                        int rc;
        c = (HttpConnection)Connector.open("http://10.10.10.00012:8585CountryDatar;deviceside=true;");
                                c.setRequestMethod(HttpConnection.POST);
                                c.setRequestProperty("If-Modified-Since", "29 Oct 1999 19:43:31 GMT");
                                c.setRequestProperty("User-Agent", "Profile/MIDP-2.0 Configuration/CLDC-1.0");
                                c.setRequestProperty("Content-Language", "en-US");
                               /* Getting the output stream may flush the headers */
    
                                os = (DataOutputStream)c.openDataOutputStream();
                                byte[] res = net.rim.device.api.system.GPRSInfo.getIMEI();
                                os.writeUTF(net.rim.device.api.system.GPRSInfo.imeiToString(res));
    
                                os.flush();
                                /* Optional, getResponseCode will flush
                                    Getting the response code will open the connection,
                                    send the request, and read the HTTP response headers.
                                    The headers are stored until requested.
                                */
                                rc = c.getResponseCode();
    
                                if (rc != HttpConnection.HTTP_OK) {
                                   throw new IOException("HTTP response code: " + rc);
                                }
    
                                is =(DataInputStream)c.openDataInputStream();
                                 byte[] data1 = new byte[256];
                                 int len = 0;
                                 int size = 0;
    
                                int ch;
                                StringBuffer sb = new StringBuffer();
                               while ( -1 != (len = is.read(data1)) )
                               {
                                    sb.append(new String(data1, 0, len));
                                }                
    
                             data = sb.toString();       //Here data is a string storing all data came from server
    

    Give us a break please.  I have other things to do!

    You set the encoding here:

    SB. Append (new String (data1, 0, len));

    Most of the servers give you UTF - 8, but you know that.  Anyway, if it is UTF - 8 follow these steps:

    SB. Append (new String (data1, 0, len, "UTF - 8"));

  • Encoding problems

    Hello, I just changed the coldfusion 9 beta to final version of coldfusion 9. Everything went well, except that all the accented characters my pages (such as a/e) are displayed as a '? I tried to change my page coding, tried to add the cfcontent tag and tried the cfprocessingdirective tag, but nothing has worked. What could be wrong? I use coldfusion 9 for linux 64-bit and my character encoding is UTF-8

    Well, something different. What is the file java encoding (System summary in)

    say CFAdmin)? that said 'defaultCharset' neo - runtime.xml (must be on)

    FC installl lib dir "/ opt/coldfusion9/lib" on my ubuntu machine). no chance I

    see the offending pages?

  • import a csv file into AddressBook

    I'm migrating from outlook to Thunderbird. Import all the emails and addresses does not work. So I exported by e-mail addresses from my server to a csv file. I imported the csv file into Thunderbird. I have to OK the addresses import. Is it possible to import in one click

    If you export all your contacts in a single csv file, you should be able to import the file in a single step, although you may need to edit the csv file before you do:

    https://support.Mozilla.org/en-us/questions/1012084

  • Why don't my choice of Western character encoding remains permanently?

    Using the button Menu on the toolbar and a button of character encoding that are open, I select Western to eliminate annoying Chinese characters who have recently begun to appear on the tabs in the browser. But the encoding switch to Unicode as soon as I start to use the browser.

    All your Adobe programs are obsolete.

    Security issue: update your Flash Player v16.0.0.296
    https://www.Adobe.com/products/flashplayer/distribution3.html

  • Where is the character encoding option in 29.0.1?

    After the change of the new provision, the menu Developer do not have character encoding options more where the hell is that? He drives me crazy...

    Hello tyw214, there is a dedicated button for the character encoding that you can add to your menu customization mode: controls, buttons, and Toolbars Customize Firefox

  • How to import a CSV of contacts as a new list of contacts?

    How to import a CSV contact to my Thunderbird account as a separate contact list?

    Opens the address book window, select Tools-Import
    Make sure you move data to the right places to import correctly. There is a screen to allow you to do that once you enter the import process.

Maybe you are looking for

  • Series read is slow

    Hi people. I read information for a device that sends its information to start for the serial port. The attached VI reads and takes the relevant information from it. The only problem is that it is quiet, slow. It takes a few seconds for data display,

  • XP SP3 no sound after reinstalling the operating system

    Hello I have re-installed the SP3 of XP on my Toshiba laptop and it has no sound after that. You may have installed the operating system in "secret" mode and so there is no sound. I checked the audio settings are that all settings are correct. Is it

  • wifi access limited error constantly

    My interent stop making limited error acesss nd on mobile, it works very well ND in laptop I need to discconect nd again nd it works fy9 again... ND sometimes it can work continuously for a long time without any problem, but other times just five min

  • Any difference between these 2 types of installation of Windows?

    Hello, I usually install Windows 7 or 8 with DVD. (start) but, when I realized that I can just install Windows 7 or 8 my hard drive (I have 2 dosks: C and D.)  course, I start installation of disk D because C is the system) Just run the installer and

  • How can I set up my printer to usb only

    Well I think that my printer is still under warranty, and the conect Wireless will not work. All happins corectly on my PC but the printer says it cannot conect to the internet. Now, everything I want to do is leave it on USB 100%. ICAN somthings lik