Data other than english language

Hi,
I am using Oracle 10g. I am having a table in which there are two columns, one column contains the data which may not be in english. Whenever I populating the data, I am getting some junk characters in that field. Now, if I want to know how many records do I have which are not in english, how to populate only those records ?
Regards

One possible way:
with dummy_data as (
   select 'ABC123' text from dual union all
   select 'Abc' text from dual
select text
from dummy_data
where regexp_like(text,'[^a-zA-Z]')
;The regular expression means "if text contains something a character +not+ (the ^) in the ranges a-z or A-Z."
Another way:
with dummy_data as (
   select 'ABC123' text from dual union all
   select 'Abc' text from dual
select text
from dummy_data
where translate(text,'§ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz','§') is not null
;Translate translates the first character of the first string to the first character of the second string, the second character of the first string to the second character of the second string, etc.
So § translates to § (unchanged in other words) and A translates to null, B translates to null, etc.
If text contains only a-z or A-Z that translate will turn the entire string to null - if any other characters exist, it will be not null.
There may be as many ways to do this as there are programmers in the world :-)

Similar Messages

  • Ordering macbook other than English language keyboard

    Do ordering macbook with other than English language keyboard gives you a keyboard with 2 printed languages?

    lllaass wrote:
    No. there is only one language printed on the keyboard
    To see the examples of keyboards with two languages printed on them, check
    How to identify keyboard localizations - Apple Support

  • Exporting other than english language pdf's into word

    Hello,
    I have pdf's that are in languages other than english e.g. german or sanskrit.
    I have Acrobat X1 Pro which I used to export the pdf's into word. The word documents really look nice but most of the words come up as garbage and random symbols. Is there a way to fix this problem?

    Acrobat XI does not support Sanskrit, but you can specify the document language as German.
    When exporting the file, on the Windows "Save As" dialog, select the "Settings" button. Then slect the "Set Language" button and set the language in the next dialog.

  • GUI_DOWNLOAD is giving # for other than english content

    Hi Guys,
    I am using GUI_DOWNLOAD FM for downloading internal table content. When my table has content other than english language, my downloaded file has only # symbols.
    I getting code page number for the  language using FM NLS_GET_FRONTEND_CP and passing to GUI_DOWNLOAD. Even standard ALV download also doing the same.  Please sugest some solution for this.
    I have to download to text file and excel file.
    Thanks,
    Vinod.

    Hi Sandra/Vijay,
    Your inputs are really helpfull. Thank you so much for your response.
    Problem is solved now by giving the code page as 4103 and marking the field write_BOM as X in GUI_DOWNLOAD FM.
    You guys are are correct. I am in Unicode system and using SAP 4.7 version. Now it is working fine. But one more problem with GUI_UPLOAD.
    I am using Office 2007. I have saved excel file in 2003 format. When i try to upload this file having Korian text/Russian text using the FM  ALSM_EXCEL_TO_INTERNAL_TABLE last two rows are not coming properly. Tried with FM TEXT_CONVERT_XLS_TO_SAP also. Below is the code snippet.
        REFRESH: li_xlstab[].
        CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'
          EXPORTING
            filename                = po_file
            i_begin_col             = lc_1
            i_begin_row             = lc_1
            i_end_col               = lc_4
            i_end_row               = 5                         "lc_65536
          TABLES
            intern                  = li_xlstab
          EXCEPTIONS
            inconsistent_parameters = 1
            upload_ole              = 2
            OTHERS                  = 3.
    My excel has always 4 columns and unknown number of rows. For testing i gave 5 rows.
    Here first 4 rows are uploaded correctly. When it comes to fifth row it is still recognising as 4th row.
    Results of li_xlstab is like below.
    ROW  COL  VALUE
    0001|0001|KO                                                              |
    0001|0002|I                                                               |
    0001|0003|001                                                             |
    0001|0004|uACB0uACFC, uD3C9uAC00                                                          |
    0002|0001|KO                                                              |
    0002|0002|I                                                               |
    0002|0003|M01                                                             |
    0002|0004|uACB0uACFC, uD3C9uAC00                                                          |
    0003|0001|KO                                                              |
    0003|0002|I                                                               |
    0003|0003|M02                                                             |
    0003|0004|uACB0uACFC, uD3C9uAC00                                                          |
    0004|0001|KO                                                              |
    0004|0002|I                                                               |
    0004|0003|M03                                                             |
    0004|0004|uACB0uACFC, uD3C9uAC00##KO                                                      | "Here its going wrong
    0004|0005|I                                                               |
    0004|0006|M04                                                             |
    0004|0007|uACB0uACFC, uD3C9uAC00##                                                        |
    After 4th row 4th column it should take 5th row 1st column. But it is taking as 4th row 5th column. Also in 4th row 4th column u can see some # symbols and KO after korian text. This value KO should be the 5rh row 1st column value.
    When i run the same program in office 2003 machine with the same file it is working perfectly fine.
    Hope u guys got the problem.
    Thanks,
    Vinod.

  • IF THE WEBSITE CONTENT IS OTHER THAN ENGLISH, THE PAGE SHOWS JUNK/UNKNOWN CHARACTERS.

    I INTEND TO VIEW THOSE SITES HAVING PAGE CONTENTS OTHER THAN ENGLISH LANGUAGE. FOR EXAMPLE hindi.moneycontrol.com BUT FIREFOX DISPLAYS JUNK/UNKNOWN CHARACTERS ON THE PAGE INSTEAD OF SHOWING PROPER TEXT IN HINDI LANGUAGE. I TRIED CHANGING VIEW->CHARACTER CODING, BUT, NO SOLUTION.
    == This happened ==
    Every time Firefox opened

    Do you have Indic font support and all needed fonts installed?
    See [http://en.wikipedia.org/wiki/Help:Multilingual_support_%28Indic%29 Wiki: Help:Multilingual support (Indic)]

  • I use different languages in my daily activities, when typing other than English Mac does not recognize them, is there anyway can Mac stop suggesting or automatically correcting me?

    I use different languages in my daily activities, when typing other than English Mac does not recognize them, is there anyway can Mac stop suggesting or automatically correcting me?

    Is this a problem with the computer or with the word processor? MS Word for example seems to think its grammar and spelling are better than mine - they are not. You have to go into MS Word preferences and uncheck all the useless "help" it wants to provide.

  • Print preview of the PO -languages other than English is not appearing.

    Hi Experts
    In the Print preview of the Purchase Order  -languages other than English is not appearing.
    When I  create a PO for a chinese vendor , in the print i can see only the ##### characters.
    Pl let me know how to solve this issue.
    Note :
    Vendor language is maintained as Chinese  in vendor master & same is getting copied in the PO heaader communication  tab.
    With outtype LP01 it works for the print preview , however when sent as a PDF it wil be with #### charaters.
    But when i select LOCL it gives  #### charaters for both print & PDF.
    Thanks
    Dkmurthy

    are the replacements if the character cannot be printed on the chosen device.
    There are several OSS notes adressing this issue. Contact your basis team.

  • ESS BP DC view displaying the UI items in diff language, other than english

    Hi Folks,
    I have imported the ESS BP into my NWDS using NWDI.  But when iam opening cat(timesheet ) related DC, all the views are displaying labels in different language, other than english.  How to get those displayed in English.
    Kindly guide us, if you can...
    Thanks & Regards,
    Ravi

    Hi Ravi,
    All the texts in the view (for the labels, buttons, etc) are stored in the xlf file associated with it.
    These xlf files you can find in the Navigator view under project source folder.
    Kind Regards,
    Nitin
    PS: Also, you can check the default language of the project (check this under Properties for the project).

  • Getting report (rdf) output in different language format other than english

    I have a report registered in apps with the output type as pdf.when i run it,the output comes in pdf but in a language other than english.
    when i run the report in the reports builder the output in pdf comes in english.I am using EBS R12.
    pls suggest.....Thanx in advance...
    Regards,
    Kranthi

    >
    Can you help me how can i implement using xliff file.
    >
    nice guide - Translating Reports - http://docs.oracle.com/cd/E10415_01/doc/bi.1013/e12187/T421739T432386.htm
    >
    To generate an XLIFF file from an RTF template
    Open your template in Microsoft Word with the Template Builder for Word installed.
    From the Template Builder menu, select Tools > Translations > Extract Text.
    BI Publisher extracts the translatable strings from the template and exports them to an XLIFF (.xlf) file.
    Save the file to the desired location.
    >
    >
    One more clarification if i am going for 'create lang-template per lang' then do i need to have MLS configured in my EBS.
    >
    not sure about your point
    what do you mean "configured" ?
    mls is the ability to run you application on different language like italian, russian ....
    so if you want check how many lang do you have then
    select nls_language from fnd_languages where installed_flag in ('B','I');for my test instance i have only "AMERICAN"
    but i can run my report with 'lang-template per lang' in different lang
    so when you run your concurrent then click "options" and indicate "template language"
    if you have
    template name: XXTMP_ru.rtf lang: Russian
    template name: XXTMP_en.rtf lang: English
    then you can choose for "template language" - Russian and English

  • Handling  languages other than  English in Java ...........................

    hi,
    I am reading several feeds which has titles/text in languages other than english like chinese, japan, Arabic etc..........
    Example title in other language : 认清世界 读懂中国: 老百姓将杨佳案矛头指向沪政法书记吴志明
    when i read such string in java program and display it iam getting all question marks instead of language specific characters.
    as below : ???????????????????(?)
    Can any one guide on how to resolve this language specific issue ?
    --rama                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    THanks all i have resolved the problem.
    The below links explains you what is the problem and how to solve it clearly.
    http://java.sun.com/developer/technicalArticles/Intl/HTTPCharset/
    Problem :
    The characters which are in the feed are UTF-8 encoded characters ,
    where as by default the tomcat server assume that all the characters are encoded in ISO-8859-1
    as the result Tomcat is trying to read the characters in the feed (which are UTF-8 encoded) in ISO-8859-1 encoded format because of which it could not able to print the international character's.
    How to resolve?
    ~~~~~~~~~~~~~~~
    we need to say to the java servlet that those characters are UTF-8 and are not the default ISO encoded
    How to say?
    ~~~~~~~~~~
    URL ffeedurl = new URL(feedurl);
              HttpURLConnection.setFollowRedirects(true);
              URLConnection connection = ffeedurl.openConnection();
    HttpURLConnection httpConnection = (HttpURLConnection) connection;
    Please observe the below line the second argument of InputStreamReader constructor ....................it is UTF-8
    which say to the servlet that characters retrieved from the URL are UTF-8 Encoded are not encoded in the default ISO format
    InputStreamReader defaultReader = new InputStreamReader(httpConnection.getInputStream(),"UTF-8");
    That's it. in adddition to that you need to take care of the below things.
    1) mysql connection should be as below
    jdbc:mysql://localhost/databasename?useEncoding=true&characterEncoding=UTF-8
    instead of
    jdbc:mysql://localhost/databasename
    2) in mysql database , each table , each text/varchar column should be of UTF-8-general-ci
    3) if you are using log4j and want ot see the UTF-8 characters in the log messages you should add the below param to each appender
    <param name="Encoding" value="UTF-8"/> (i don't know even after setting this i couldnot able to see the characters properly in log file/console)
    4 ) important links which talks about this problem and solution:
    [http://java.sun.com/developer/technicalArticles/Intl/HTTPCharset/ |http://java.sun.com/developer/technicalArticles/Intl/HTTPCharset/ ] (to clearly undestand what the problem is and how to resolve)
    [http://blogs.warwick.ac.uk/kieranshaw/entry/utf-8_internationalisation_with|http://blogs.warwick.ac.uk/kieranshaw/entry/utf-8_internationalisation_with]
    [http://stackoverflow.com/questions/138948/how-to-get-utf-8-working-in-java-webapps|http://stackoverflow.com/questions/138948/how-to-get-utf-8-working-in-java-webapps]
    --rama
    Edited by: Ramaa on Oct 17, 2008 3:34 AM

  • Recognizing languages other than English...

    I want a JAVA program to recognize languages other than English. (i.e) if I use any other language in the midst of a program, I have to tell the JVM to recognize that language. What is the way to do that?
    Thank you...

    I want a JAVA program to recognize languages other
    than English. (i.e) if I use any other language in
    the midst of a program, I have to tell the JVM to
    recognize that language. What is the way to do that?
    Thank you...you mean the compiler ?
    as far I know , compiler only know keywords
    here list of keywords that used to develop java program
    http://java.sun.com/docs/books/tutorial/java/nutsandbolts/_keywords.html

  • Recognising languages other than english

    does quicktime player regonise languages other than english?
    i have a lot of chinese songs with chinese wording as titles and when i play them it seems not to recognise it and just shows the song title as some funny symbols.
    Anyway to solve this problem?

    I'm sorry I made a mistake.
    .m4a (in truth .mp4) use Unicode to storage ID3 tags such as Name and Artist.
    Treating MP3s, most players only see ID3v1 tags as they are non-Unicode. ID3v2 tags can optionally be Unicode depends on the player and/or encoder.
    Quicktime .mov files can use both Unicode and non-unicode encodings for tagging.
    iTunes for Windows and iPods support non-Unicode song tags and will display them in the encoding "codepage" in which Windows is set for processing non-Unicode text. But it's unknown whether Quicktime for Windows supports this or not.
    Message was edited by: yksoft1
    Message was edited by: yksoft1

  • Does Mac OS 10.8.2 support dictionary in language other than English.

    Does Dictionary in Safari and Mail support language other than English (say Chinese and Japanese)?  In iOS, I can simply highlight a word, press "Define" and boom...result is there.  But in Mac OS, I tried highlighting Chinese and Japanese words, dictionary replied with "Result not found".  Is this a setting issue or foreign language dictionary is not yet available in 10.8.2?  Thanks!

    Wow.....that's fantastic!  I couldn't understand a word from my supplier before.  Now it works, thanks Tom! 

  • Printing payement advice note in language other than english

    Dear Expert Users
    We are trying to print payment advice notes in different local
    languages.
    We have maintained the vendor language as the local language(ex:
    Japanese)and tried printing the payment advice note and its appearing
    in English.
    Please note that we have maintained the transalation of the forms in
    local language.
    Any assistance in this regard will be highly appreciated .
    Pravin

    1) Can you check at the condition record level which language is your prinout getting fired.?
    2) You can also try logging in japanese language and check if you can see your standard texts correctly.
    3) Also check if your printer supports language other than English..

  • Does it have other-than english dictionary?

    hello
    i wonder if Leopard comes with more other-than-english-dictionary...
    Mac Dictionary is very useful because one can simply press ctrlcmmdD under any app and have words looked up... so i'd like to have other than english words looked up quickly...
    or if anyone knows of other 3rd party dictionaries working with Mac's dictionary... i'd appreciate your help...
    thanks

    With the data I have I think English is nor the first either the second in terms of first language, but combining those people who speak it as second language to people who use it as first, it cames to the second-first position. In terms of people who have to use it, English is, by far, the first, as in the internet (English-Chinese-Spanish) and in terms of influence (English-French-Spanish). For me, as many other spanish people, is a great help to have a English dictionary (a good one) included in the OS. Maybe it's more useful than having the spanish one, but it would be a good step to integrate some other like RAE of Spanish, and I think it's not dificult, since the dictionary is done, as the Oxford one.
    A note: Chinese is not only Mandarin but the amalgam of dialects derivated called standard Chinese.

Maybe you are looking for

  • Power Mac G4 USB error after 10.4.7

    Hello, I've installed the 10.4.7 update on my Power Mac G4. After the installation I have problems with my USB devices. After I've put my Mac into standby, i've attached my USB Hard disk and the Mac do nothing, all USB devices I've plugged were not r

  • Thunderbolt adapter for macbook pro pre 2011?

    Hello, I have a macbook pro bought in 2009. There is a shared Thunderbolt display in my studio that I would like to use can I buy an adapter for my cinema screen port so I can use the Thunderbolt? If not is there an adapter planned by apple? Thanks

  • Am I able to use a federal employee discount and student discount together when buying a new computer?

    Am I able to use a federal employee discount and student discount together when buying a new computer? I work for the government, but am also a full time student at a university. I was wondering if anyone had any experience with that and knew if you

  • Create BDC for Shipments

    Dear Friends. I have to connect 2 different BDCs in a program. First BDC. Starts from tcode VL06P, as I enter Route and Warehouse Num, A list of deliveries is displayed. I have to pick the Ship to Party from this list and start the second BDC. Second

  • Unable to refer to custom resource bundle in WPC content rendered with xslt

    Hi, I need to use the resource bundle messages inside WPC content. When rendered by standard xsl templates the  call to XSLTHelper class is done to retrieve message from the standard SAP resource bundle com.sap.nw.wpc.bundles.core.properties, like th