Block japanese and chinese characters in a string
Hi,
I need to check a string whether it contains only Alphabets, Numbers and special characters. Requirement is to block Japanese and chinese characters . If possible let the know the logic through which this can be achieved.
Your assitance will be appreciated.
Thks in advance
Hi.
If sy-langu NE 'JA' or sy-langu NE 'ZH'.
Write your logic here as per your requirement.
Endif.
Regards.
Jay
Edited by: Jay on Jan 6, 2009 5:47 AM
Similar Messages
-
Help Needed with using Japanese and Chinese characters in SQL Server
Hi,
In my application I have to deal with storing chinese, japanese and English characters in the database which will come from a JSP ... Please help me in knowing how to do this...
Thanks
RheaHello,
I believe that I answered this question on this post:
http://forum.java.sun.com/thread.jsp?forum=16&thread=25625
I hope that this helps.
Perogi. -
Japanese or Chinese characters showing up in contextual menu (right click)
Whenever I right click inside a Firefox (v 3.6.17) window, there are three (3) menu picks at the very bottom of the contextual menu that are displayed in either Japanese or Chinese characters. How do I fix this?
Thanks in advance for any help!Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
* Don't make any changes on the Safe mode start window.
* https://support.mozilla.com/kb/Safe+Mode
* [[Troubleshooting extensions and themes]] -
Using SQL*Loader to Load Russian and Chinese Characters
We are testing our new 11.2.0.1 database using Oracle Linux 6. We created the database using the AL32UTF8 NLS Character set. We have tried using sqlldr to insert a few records that contain Russian and Chinese characters as a test. We can not seem to get them into the database in the correct format. For example, we can see the correct characters in the file we are trying to load on the Linux server, but once we load them into a table in the database, some of the characters are not displayed correctly (using SQL*Developer to select them out).
We can set the values within a column on the table by inserting them into the table and then select them out and they are correect, so it appears the problem is not in the database, but in the way sqlldr inserts them. We have tried several settings on the Linux server to set the NLS_LANG environment to AMERICAN_AMERICA.AL32UTF8, AMERICAN_AMERICA.UTF8, etc. without success.
Can someone provide us with any guidance on this? Would really appreciate any advice as to what we are not getting here.
Thanks!!The characterset of the database does not change the language used in your input data file. The character set of the datafile can be set up by using the NLS_LANG parameter or by specifying a SQL*Loader CHARACTERSET parameter. I suggest to move this question to the appropriate forum: Export/Import/SQL Loader & External Tables for closer topic alignment.
-
Display artist and title of japanese and chinese songs in itunes?
hi,
does anyone know how i can display the artist and title of japanese and chinese songs in itunes? thanks.
it used to work on my old computer on old itunes but when i moved it to my new computer, also dell, it comes up with some gibberish squares.
no issues on ipod, though.
thanks
dell c521 Windows XPHave a look at the iTunes and iPod section of Tom Gewecke's web page for some good information.
-
English and Chinese characters in a FIle
Hi,
I need to read a file from application server and create a idoc with that data. But, the File may sometime contain a mix of English and Chinese Characters as below.
File at application server is as below format:
#####û´##û³##úÊ##þÎñÓ#######MR###õ###########ø°####ò²#####7588##7590##200000
The file has six fix fields separated by ''. But when I move these fields in six variables, in 4th variable the value comes as '#õ###########ø°####ò²#####7588##7590##' instead of only '#õ' (it takes value of 5th variable also) and then the rest of fields get misplaced.
Any idea about this problem?
Please note that My system in SAP 4.6.
Thanks.Hi..
Probably is caused by the 2bytes consume of chinese characters, have you tried to temporarly delete those chinese characters from the input data and see what happen?..
Hope to help... -
The fontsize of japanese and chinese is not in tune
When the system language is Japanese, using chinese software, chinese characters sometimes thick sometimes thin.
When the system language is Chinese, using japanese software, kana characters is thicker than kanji characters.Zaretukai wrote:
When the system language is Japanese, using chinese software, chinese characters sometimes thick sometimes thin.
When the system language is Chinese, using japanese software, kana characters is thicker than kanji characters.
This is how it works in iOS, you normally need to have Japanese higher in the language list than Chinese when you are using Japanese text, otherwise the wrong font gets used for at least some characters, and the other way around as well.
You can ask Apple to try to fix this via
http://www.apple.com/feedback
but it is very difficult in a Unicode system. -
SQL*Plus and chinese characters
Hi all,
I have following scenario:
1. Database 10.1.0.5 with following NLS-Parameter:
SQL> select * from NLS_DATABASE_PARAMETERS;
NLS_LANGUAGE AMERICAN
NLS_NCHAR_CHARACTERSET AL16UTF16
NLS_TERRITORY AMERICA
NLS_CURRENCY $
NLS_ISO_CURRENCY AMERICA
NLS_NUMERIC_CHARACTERS .,
NLS_CHARACTERSET WE8MSWIN1252
NLS_CALENDAR GREGORIAN
NLS_DATE_FORMAT DD-MON-RR
NLS_DATE_LANGUAGE AMERICAN
NLS_SORT BINARY
NLS_TIME_FORMAT HH.MI.SSXFF AM
NLS_TIMESTAMP_FORMAT DD-MON-RR HH.MI.SSXFF AM
NLS_TIME_TZ_FORMAT HH.MI.SSXFF AM TZR
NLS_TIMESTAMP_TZ_FORMAT DD-MON-RR HH.MI.SSXFF AM TZR
NLS_DUAL_CURRENCY $
NLS_COMP BINARY
NLS_LENGTH_SEMANTICS BYTE
NLS_NCHAR_CONV_EXCP FALSE
NLS_RDBMS_VERSION 10.1.0.5.0
SQL> select * from NLS_SESSION_PARAMETERS;
NLS_LANGUAGE AMERICAN
NLS_TERRITORY GERMANY
NLS_CURRENCY €
NLS_ISO_CURRENCY GERMANY
NLS_NUMERIC_CHARACTERS ,.
NLS_CALENDAR GREGORIAN
NLS_DATE_FORMAT DD.MM.RR
NLS_DATE_LANGUAGE AMERICAN
NLS_SORT BINARY
NLS_TIME_FORMAT HH24:MI:SSXFF
NLS_TIMESTAMP_FORMAT DD.MM.RR HH24:MI:SSXFF
NLS_TIME_TZ_FORMAT HH24:MI:SSXFF TZR
NLS_TIMESTAMP_TZ_FORMAT DD.MM.RR HH24:MI:SSXFF TZR
NLS_DUAL_CURRENCY €
NLS_COMP BINARY
NLS_LENGTH_SEMANTICS BYTE
NLS_NCHAR_CONV_EXCP FALSE
SQL> select * from V$NLS_PARAMETERS;
NLS_LANGUAGE AMERICAN
NLS_TERRITORY GERMANY
NLS_CURRENCY €
NLS_ISO_CURRENCY GERMANY
NLS_NUMERIC_CHARACTERS ,.
NLS_CALENDAR GREGORIAN
NLS_DATE_FORMAT DD.MM.RR
NLS_DATE_LANGUAGE AMERICAN
NLS_CHARACTERSET WE8MSWIN1252
NLS_SORT BINARY
NLS_TIME_FORMAT HH24:MI:SSXFF
NLS_TIMESTAMP_FORMAT DD.MM.RR HH24:MI:SSXFF
NLS_TIME_TZ_FORMAT HH24:MI:SSXFF TZR
NLS_TIMESTAMP_TZ_FORMAT DD.MM.RR HH24:MI:SSXFF TZR
NLS_DUAL_CURRENCY €
NLS_NCHAR_CHARACTERSET AL16UTF16
NLS_COMP BINARY
NLS_LENGTH_SEMANTICS BYTE
NLS_NCHAR_CONV_EXCP FALSE
2. Windows Language is german
I should be possible to insert the chinese characters into the table from the SQL*Plus (sqlplusw.exe) and SQL*Plus should be able to show the chinese characters from that table.
Is there any Step-By-Step Tutorial for the changes, that I should provide?
Can anybody help me?
ThanksI have a table CHINESE with one column STRING
NVARCHAR2(250). There I will store the chinese
character and display the content in SQL*Plus.
Into the table I will insert with SQL*Plus with
INSERT Statement.
To store the character you could use e.g.
insert unistr(<unicode value expression>) into table But Sql*Plus does not support Unicode display. Use SQL Developer instead for displaying your table data.
You could also use select dump(column,1016) from table to verify that character data is correctly converted and stored.
Windows Codepage is 1252.
What do you mean under "what is your corresponding
NLS_LANG client char set setting" ?With acp 1252, your NLS_LANG should contain .WE8MSWIN1252 - this tells Oracle your acp setting.
Note however that windows-1252 does not define any Chinese characters.
http://www.microsoft.com/globaldev/reference/sbcs/1252.mspx
http://www.oracle.com/technology/tech/globalization/htdocs/nls_lang%20faq.htm
You can read more about Unicode string literals in Oracle in chapter 7 Programming with Unicode, Globalization Support guide in 10.2. Also you probably should read about NCHAR literal replacement (available only in 10.2 and above).
http://download.oracle.com/docs/cd/B19306_01/server.102/b14225/toc.htm
Message was edited by:
orafad -
Arabic and Chinese characters are showing ??? in PDF
Hi
I hava an application which calls BI publisher API to generate PDF file from rtf temlate and xml input. It is fine for English contents. But the Arabic or Chinese characters are showing ??? in PDF. If I use BI publisher Desktop to load the xml and generate pdf file, it shows correct Arabic/Chinese Characters in PDF. I also copied ALBANWTJ.ttf file to my application JAVA_HOME/jre/lib/fonts/ folder. But it still doesn't work. Anyone can help me with this?
Thanks a lot!I created xdo.cfg and put it in my JAVA_HOME/jre/lib/ folder. the file is configured as below:
<?xml version="1.0" encoding="UTF-8"?>
<config version="1.0.0" xmlns="http://xmlns.oracle.com/oxp/config/">
<properties>
<property name="system-temp-dir">/tmp</property>
</properties>
<fonts>
<font family="Default" style="normal" weight="normal">
<truetype path="/fonts/ALBANWTJ.ttf"/>
</font>
</fonts>
</config>
But now I'm getting this error while generating pdf file:
Adobe Reader could not open 'xxx.pdf' because it is either not a supported file type or because the file has been damaged (for example, it was sent as an email attachment and wasn't correctly decoded).
Is there anything wrong in my xdo.cfg?
Thanks! -
I recently had my account smurfed,I think it's called-my email was attacked-sent a bunch of emails to friends as if from me---I changed password,etc-no other problems since-but I realized this morning that there's something in my status bar with chinese characters after it(the attack on my email was from Chinese source) and when I put my cursor over it-it doesn't give me any options-doesn't open...I suspect its from the same attacker---what is it? How can I get rid of it?
From Apple support, I found out this file is in the operating system folder. Apple support is satisfied that it's not a virus because a virus wouldn't be mixed with the operating system files. I only have familiarity with PCs and know that malware frequently disguises itself within the Windows operating system. Are there any out there who are adept with OS X 10.8.2? There must be someone. I mean, people code software for new Macs all the time. Anything would be helpfull: a book, an article--anything. I don't want to spend money on an antivirus program that may not even work and probably also slow down my computer. I went through all the major antivirus programs on my PCs. All of them allowed malware to get onto my computers. And what's worse, they couldn't delete the viruses. They would just give complicated instructions that involved manually editing the registry in Windows. The primary reason I bought a Mac is that I was told at a Mac retail store that I don't need an antivirus program; that the operating system is designed with built in barriers to malware. I thank anyone in advance for help.
-
Chromium 8 and Chinese characters
Chromium 8 can't upload any file with chinese characters in its filename. Anybody has the same problem? Hope that there are many Chinese users.
Thanks!Maybe it's the website that doesn't accept Chinese filenames? What encoding are your files named in (probably GB, Big5, or UTF-8)? It works fine for me with UTF-8 and Gmail.
-
ITSmobile and chinese characters under UNICODE
Hello,
we already use ITSmobile on our ECC6.4 EhP4.
Now we plan a roll-out of this process to China.
As far as i know it is enough to install and activate chinese language (simplified Chinese) to be able to log on in chinese and get all transactions with chinese characters.
Is this also valid for ITSmobile or do we have to take something else into account?
Best regards,
AlexHello Alex,
Make sure that you have the Chinese language installed on the mobile device. Also need to make sure that you have Chinese on your R/3 system, easiest way to test is to logon in Chinese (usually simplified Chinese for China).
Edgar -
Tomcat, Oracle 9i and Chinese Characters
Dear Group,
we are using an application based on oracle 9i and tomcat 5.0. I copied the "ojdbc14.jar" and "nls_charset12.jar" to my common/lib directory of Tomcat.
The application works fine until I insert chinese characters via the web form from our app. If I insert the chinese characters directly with the oracle enterprise console, it works.
NLS_NCHAR_CHARACTERSET is AL16UTF16
Any idea?
Thanks in advance
RayAre you inserting the Chinese characters into a VARCHAR2 column or into an NVARCHAR2 column?
What is your NLS_CHARACTERSET?
Justin
Distributed Database Consulting, Inc.
http://www.ddbcinc.com/askDDBC -
Itunes won't display Asian Characters (Korean, Japanese, and Chinese)
For some reason, with the most recent update to iTunes, my library is no longer properly displaying Korean characters. It is instead replacing them with boxes. It was and has worked fine for the longest time and I haven't made any other changes that would affect the language packs with my windows 7 64bit. However, when I play a song in iTunes and I have MSN Messenger running, the messenger will correctly display the current song I'm listening. I'm just hoping that if I sync my iPhone with my library, these characters will not appear as squares there as well. I've seen suggestions for switching my operating system language setting to Korean, but as I'm not completely fluent I'd hate to get stuck not knowing how to navigate my way around because I can't read/understand something. Can someone please find a solution for this.
I didn't have the problem of showing boxes, but I had a similar problem of the korean characters showing in symbols. To fix, I (1) right clicked on the song. (2) Chose Convert ID3 Tags. (3) Checked "Reverse Unicode" Box, then hit "OK". You can highlight as many songs as you want at once and still perform the same thing, to save you time.
Hope this helps you. -
Japanese and Russian characters are not displayed properly
I have a pdf file which has both russian and Japanese characters in it. Before I install Japanese font pack, the russian characters were displayed properly but for Japanese characters Junk characters are displayed. But once I installed Japanese font pack, Japanese fonts are displayed properly, but for Russian characters are displayed as junk characters. Please let us know if can display both font types simultaneously in a document or is there any work around for this ?
What is your Reader version?
If Reader X or earlier, did you also install the extended font pack?
Maybe you are looking for
-
My iPad has now been backed up on iCloud. How can I see what has been backed up?
My iPad has now been backed up on iCloud. How can I see what has been backed up?
-
Im pretty sure it has something to do with the wiki trying to start up, it only happens when the web service is running. python seems to be running something and the cpu spikes about ever 8 seconds. It spits up tons of errors in the system.log all th
-
Viewing Bind variable values in TKPROF output
DB Version:10gR2 After tracing a Stored proc , i can see the bind variable values in the raw trace file. But the TKPROF output of this trace file doesn't show Bind variable values. Is there a way i could see Bind variable values in TKPROF output?
-
Font download not working in IE 10
Hello! We are building a product based on web tech (html, css, javascript). When our customers are running what we built in IE 10 they dont get the correct fonts or our icons that are font based. We can reproduce the error on our end by disabling fon
-
Creating flv skins in cs3 and using them in Flash 8
We created a custom skin in flash cs3 but we want to implement the custom skin into some flash 8 projects. We have been having problems and when we exported with actionscript 2.0 all hell broke loose. Any ideas on how to get this to work?? thank