How to include different Character Sets in Flex AIR project
Hi All,
Flex, AIR(Desktop) Project.
PROBLEM Scenario:
My Application needs a path from Windows registry, So I am launching a .cmd file using Native Process API.
As a result I get a text file with the path.
So, everything works fine(reading/writing), but if the path contains different languages like Korean, Chinese then the READING OPERATION IS FAILED only when I install the application. It works fine while debugging.
(By failing I mean its not getting the characters, its printing some junk values.)
I am using readMultibyte & writeMultibyte APIs, and I am assiging the character set dynamically as per the OS language. (Which is Enslish in current scenario)
FINDING:
I installed Windows with Korean Language on a system, so now if I build the .exe on this machine then it works fine. So, i guess its not able to get the Korean Character set from the English OS, thats why it failed in earlier case.
Is there any way to include different character sets in a Flex project?
Regards,
Mayank
Some loaded SWFs may not be compatible with Flex. Try making a simpler SWF (like one that just draws a circle where you click) and see if it can be loaded and interacted with.
-Alex
Similar Messages
-
Different Character sets (Codepages) in the same Login
Hi,
I need to enter different character sets (Russian and English) in the same login and save the different characters to SAP database tables.
The codepage for Russian is different from English codepage. I have Russian codepage language settings on both Windows and SAP. Can anybody let me know how to proceed with this.
Any pointers on this would be really helpful.
Thanks and Regards,
SirishaHi,
I need to enter different character sets (Russian and English) in the same login and save the different characters to SAP database tables.
The codepage for Russian is different from English codepage. I have Russian codepage language settings on both Windows and SAP. Can anybody let me know how to proceed with this.
Any pointers on this would be really helpful.
Thanks and Regards,
Sirisha -
Different character sets on database links
Does someone know, how to select data from different machines with different character sets via database link transferring the umlauts correctly ?
The destination instance uses we8iso8859p1, the source machines have us7ascii (SAP) or we8iso8859p1. It is NOT allowed to change the character sets on the source databases!This is not so easy to solve. The correct procedure is to fix your non-ASCII database to reflect the correct character set encoding of your data. Have you checked with SAP to see whether it is really not possible/supported to change the application db character set ?
The only workaround that I can think of ,is to create another database with 'WE8ISO8859P1' as the db character set. Populate it with the data you need from your SAP database using either SQL*LOADER or from insert statements generated by SPOOLing out the data using SQL*PLUS -
Searching with different character sets
Hello,
we have a problem with Intermedia 8.1.6. running on Solaris.
The table contains the text with different character sets and that's the problem. User submits the query in his char.set and the IM sometimes doesn't find the data.
Idea is to create the index using the flat ascii chars and to search in ascii ... but how?
Can anybody help me?
Thanks.
Zozzi
null<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Zozzi ([email protected]):
sorry, wrong email in the prev msg ...
this one is correct<HR></BLOCKQUOTE>
Hello,
Did you solve it ?
If yes, how to do it. I am interested in knowing it.
Many Thanks
null -
Importing from a different character set
Oracle 8.1.7 / Windows NT
I'm trying to import a dump file which was created with character set WE8ISO8859P9. My database uses character set UTF8. Some of the records can't be inserted because of error "ORA-1401: Value too large for column". Is this because of the different character sets? If I switch my session to WE8ISO8859P9, imp says "character set conversion from x to y not supported."
How can I get these last records inserted? Here's an excerpt from the log:
Verbunden mit: Oracle8i Enterprise Edition Release 8.1.7.0.0 - Production
With the Partitioning option
JServer Release 8.1.7.0.0 - Production
<
Export-Datei wurde von EXPORT:V08.00.05 |ber konventionellen Pfad erstellt
Warnung: Die Objekte wurden von NOC_ADMIN exportiert, nicht von Ihnen.
Importvorgang mit Zeichensatz WE8ISO8859P9 und Zeichensatz UTF8 NCHAR durchgef|hrt
Import-Server verwendet Zeichensatz UTF8 (mvgliche Zeichensatzkonvertierung)
Export-Server verwendet Zeichensatz WE8ISO8859P9 NCHAR (mvgliche Zeichensatzkonvertierung)
. Import NOC_ADMIN's Objekte in NOC_ADMIN
. . Import der Tabelle "ACCESSROUTERIFS_" 782 Zeilen importiert
. . Import der Tabelle "ITEM_"
IMP-00019: Zeile zur|ckgewiesen aufgrund von Oracle-Fehler 1401
IMP-00003: Oracle-Fehler 1401 gefunden
ORA-01401: Eingef|gter Wert zu gro_ f|r Spalte
Spalte 1 33886
Spalte 2
Spalte 3
Spalte 4 1323
Spalte 5
Spalte 6 11
Spalte 7 18600
Spalte 8 18600
Spalte 9 20-NOV-2000:00:00:00
Spalte 10 processing
Spalte 11 inactive
Spalte 12
Spalte 13
Spalte 14 35682.0
Spalte 15
Spalte 16
Spalte 17
Spalte 18 05.12.00: KD weiss noch nix neues, er wird uns inf...
Spalte 19
Spalte 20 kschmid
Spalte 21 09-FEB-2001:15:50:21
Spalte 22
Spalte 23 12
Spalte 24
Spalte 25 06-NOV-2000:00:00:00
nullPlease try ORacle RDBMS support. this issues is to do with Oracle Import.
-
How to change the Character Set from AL32UTF8 to WE8DEC
Hello!!
I want to know how to change the character set in the database from AL32UTF8 to WE8DEC.
I tried to use the comand ALTER DATABASE CHARACTER SET but I got an error because WE8DEC is not a superset of AL32UTF8.
I need to import tables from a server that uses WE8DEC. So when I do the import to my server, wich has AL32UTF8 , I can't import the rows that include an Ñ.
So I want to change the caracter set to WE8DEC. How can I do it?
Is it needed to change the language configuration? The remote server has AMERICAN_AMERICA, and my server has MEXICAN SPANISH_MEXICO (both uses text in spanish).
Thanks a lot!!When you export from WE8DEC server what did you use
for NLS_LANG char set? And when importing?
The export was done in another computer because I can't do the export in the server (I have 10g, and the remote server has 9i and the export is not working). In my server, when I tried to do the import, the NS_LANG value was MEXICAN SPANISH_MEXICO.WE8MSWIN1252.
When I try to import to my database I got the error:
import done in WE8DEC character set and AL16UTF16 NCHAR character set
import server uses AL32UTF8 character set (possible charset conversion)
export client uses WE8MSWIN1252 character set (possible charset conversion)
. importing USRMCR06's objects into PRIMARIZACION
. . importing table "CHG_FONDOS_MARZO_CD_MOR"
IMP-00019: row rejected due to ORACLE error 12899
IMP-00003: ORACLE error 12899 encountered
ORA-12899: value too large for column "PRIMARIZACION"."CHG_FONDOS_MARZO_CD_MOR".
"NOMBRE" (actual: 41, maximum: 40)
Column 1 16623436
Column 2
Column 3 Pymes_1
Column 4 -
How to input unicode character set from oralce form 9i
Hi,
Can anyone show me how to input unicode character set from form 9i. I have designed a form and run it but when I input unicode charater in TEXT ITEM on form (FONT_NAME of this TEXT ITEM is New Roman, AriaTime l ...), but it display incorrectly nor stored it in Database.
Thank you !Thank Duncan R Mills !
My setting NLS_CHARACTER in Database as follow :
SQL> SELECT * FROM NLS_DATABASE_PARAMETERS;
PARAMETER VALUE
NLS_LANGUAGE AMERICAN
NLS_TERRITORY AMERICA
NLS_CURRENCY $
NLS_ISO_CURRENCY AMERICA
NLS_NUMERIC_CHARACTERS .,
NLS_CHARACTERSET UTF8
NLS_CALENDAR GREGORIAN
NLS_DATE_FORMAT DD-MON-RR
NLS_DATE_LANGUAGE AMERICAN
NLS_SORT BINARY
NLS_TIME_FORMAT HH.MI.SSXFF AM
PARAMETER VALUE
NLS_TIMESTAMP_FORMAT DD-MON-RR HH.MI.SSXFF AM
NLS_TIME_TZ_FORMAT HH.MI.SSXFF AM TZH:TZM
NLS_TIMESTAMP_TZ_FORMAT DD-MON-RR HH.MI.SSXFF AM TZH:TZM
NLS_DUAL_CURRENCY $
NLS_COMP BINARY
NLS_NCHAR_CHARACTERSET UTF8
NLS_RDBMS_VERSION 8.1.7.0.0
18 rows selected.
Even if I can'nt input unicode character on Oracle Forms, It display incorrectly though I set exactly font_name. -
Different Character sets?
Oracle version: 11.1.0.7.0
There are any problems if I configure an Oracle Streams Replication between to database with different character set? I have configured a propagation between two database A and B. The A character set is WE8MSWIN1252 and the B character set is WEISO8859P1 but when the propagation passes about 30 minutes configured and ora-07445 begin. Also when I do the same configuration between two database with the same character set the problems does not appear.
Here I write the error in the alert log:
ORA-07445: se ha encontrado una excepción: volcado de memoria [kohrsmc()+1484] [SIGSEGV] [ADDR:0x18] [PC:0x7CCC92E] [Address not mapped to object] []
Incident details in: /opt/oracle/diag/rdbms/bdmdic/bdmdic2/incident/incdir_110004/bdmdic2_j000_18185_i110004.trc
Fri Aug 06 16:57:31 2010
Trace dumping is performing id=[cdmp_20100806165731]
Exception [type: SIGILL, Illegal operand] [ADDR:0x2ACE05EEFE60] [PC:0x2ACE05EEFE60, {empty}]
Errors in file /opt/oracle/diag/rdbms/bdmdic/bdmdic2/trace/bdmdic2_j000_18185.trc (incident=110005):
ORA-07445: se ha encontrado una excepción: volcado de memoria [PC:0x2ACE05EEFE60] [SIGILL] [ADDR:0x2ACE05EEFE60] [PC:0x2ACE05EEFE60] [Illegal operand] []
ORA-07445: se ha encontrado una excepción: volcado de memoria [kohrsmc()+1484] [SIGSEGV] [ADDR:0x18] [PC:0x7CCC92E] [Address not mapped to object] []
Incident details in: /opt/oracle/diag/rdbms/bdmdic/bdmdic2/incident/incdir_110005/bdmdic2_j000_18185_i110005.trcWhere did I said that charset is interfering in propogataion? It will not interfere. Char set difference will cause the target database populated with data which it may not understand and will show you as garbage data. As you replication is working find without an issue for sometime, so it looks like you are hitting some bug when you hit replication for some specific data. To confirm this you may have to work with Oracle to find the exact cause or which bug you may be hitting.
All my suggestions till this point in time is without knowing your proper environment (Server A,B OS and database version, also the error description except english words are all foreign to me). As suggested you will be better off working with Oracle support to find the resolution. Please let us know what fixed your issue when you work with Oracle to help all forum members.
Regards -
NLS settings for a database link between DBs with different character sets
I am using a database link to move data from one database to another and I am seeing some strange data problems. The databases have different character sets and different NLS settings. I wonder if this could be causing my problem.
Here are the NLS parameters for the database where the database link exists. (the SOURCE database)
1 NLS_CALENDAR GREGORIAN
2 NLS_CHARACTERSET WE8MSWIN1252
3 NLS_COMP BINARY
4 NLS_CURRENCY $
5 NLS_DATE_FORMAT DD-MON-RR
6 NLS_DATE_LANGUAGE AMERICAN
7 NLS_DUAL_CURRENCY $
8 NLS_ISO_CURRENCY AMERICA
9 NLS_LANGUAGE AMERICAN
10 NLS_LENGTH_SEMANTICS BYTE
11 NLS_NCHAR_CHARACTERSET AL16UTF16
12 NLS_NCHAR_CONV_EXCP FALSE
13 NLS_NUMERIC_CHARACTERS .,
14 NLS_SORT BINARY
15 NLS_TERRITORY AMERICA
16 NLS_TIMESTAMP_FORMAT DD-MON-RR HH.MI.SSXFF AM
17 NLS_TIMESTAMP_TZ_FORMAT DD-MON-RR HH.MI.SSXFF AM TZR
18 NLS_TIME_FORMAT HH.MI.SSXFF AM
19 NLS_TIME_TZ_FORMAT HH.MI.SSXFF AM TZR
Here are the NLS parameters for the database that the database link connects to. (the TARGET database)
1 NLS_CALENDAR GREGORIAN
2 NLS_CHARACTERSET AL32UTF8
3 NLS_COMP BINARY
4 NLS_CURRENCY $
5 NLS_DATE_FORMAT DD-MON-RR
6 NLS_DATE_LANGUAGE AMERICAN
7 NLS_DUAL_CURRENCY $
8 NLS_ISO_CURRENCY AMERICA
9 NLS_LANGUAGE AMERICAN
10 NLS_LENGTH_SEMANTICS BYTE
11 NLS_NCHAR_CHARACTERSET AL16UTF16
12 NLS_NCHAR_CONV_EXCP FALSE
13 NLS_NUMERIC_CHARACTERS .,
14 NLS_SORT BINARY
15 NLS_TERRITORY AMERICA
16 NLS_TIMESTAMP_FORMAT DD-MON-RR HH.MI.SSXFF AM
17 NLS_TIMESTAMP_TZ_FORMAT DD-MON-RR HH.MI.SSXFF AM TZR
18 NLS_TIME_FORMAT HH.MI.SSXFF AM
19 NLS_TIME_TZ_FORMAT HH.MI.SSXFF AM TZR
The SOURCE database version is 10g Release 10.2.0.3.0 - Production
The TARGET database version is 11g Release 11.1.0.6.0 - 64bit Production
Do I need to modify the NLS settings in the SOURCE database before executing a script to insert data into the TARGET database?
Thanks, JackThe difference in settings is not a problem by itself, especially that only the NLS_CHARACTERSET matters. Of course, this difference may lead to certain issues if not taken into consideration.
Please, describe symptoms of your problems.
-- Sergiusz -
Expdp with network_link and different character sets for source and target?
DB versions 10.2 and 10.1
Is there any limitation for implementing expdp with network_link but target and source have different character sets?
I tried with many combinations, but only had success when target and source have the same character sets. In other combinations there was invalid character set conversion (loose of some characters in VARCHAR2 and CLOB fields).
I didn't find anything on the internet, forums or Oracle documentation. There was only limitation for transportable tablespace mode export (Database Utilities).
ThanksHi DBA-One
This link
http://download-east.oracle.com/docs/cd/B19306_01/server.102/b14215/dp_overview.htm#CEGFCFFI
is from Database Utilities 10g Release 2 (10.2) (I read it many times)
There is only one thing about different character sets.
I quote:
Data Pump supports character set conversion for both direct path and external tables. Most of the restrictions that exist for character set conversions in the original Import utility do not apply to Data Pump. The one case in which character set conversions are not supported under the Data Pump is when using transportable tablespaces.
Parameter VERSION also doesn't play role here, because the behaviour (character set) is the same if I use for target and source only 10.2 or (10.2 and 10.1) respectivly. -
Query distributed database with different character sets.
Hello experts, this is my situation:
I have two databases A and B, the same version 11.1.0.7, the same OS Suse Linux Enterprise 10 but with different character sets, A has WE8MSWIN1252 while B has AL32UTF8. The database B is my XML DB repository so there I have some XML type tables. I need to query this tables from the database A using a dblink and in fact I have done that but the XML content is trasformed due to the different character sets between the databases. Some time there are data loss and some time there are data missmatch.
Is there any way to query the tables stored in the database B without problems? I do not know if the following is correct: Maybe I can set the character set for the session in the database A during the time it query the database B. That is, change the character set in fly at session level.
Do you have any special suggestion?
I hope you can help me, thank you in advance.The Globalization Support Guide for 11.1.0.7 has a chapter on character set migration that should be helpful. AL32UTF8 is a superset of WE8MSWIN1252 but it is not a strict superset. That is, it doesn't meet the second prong of the test in the documentation
The new character set is a strict superset of the current character set if:
Each and every character in the current character set is available in the new character set.
Each and every character in the current character set has the same code point value in the new character set. For example, many character sets are strict supersets of US7ASCII.Exporting the data from the A, changing the character set (or creating a new database with the AL32UTF8 character set), and then importing the data may be the easiest approach in your case.
Justin
Edited by: Justin Cave on Jan 13, 2011 12:08 PM -
How to find Client Character set?
Hi,
I need to connect to remote database which is having different character set than the client. Ia there any method to display client character and Database character set from SQL Plus? Could someone please help me.
Thanks in Advance
Sree.I guess you're using PL/SQL Developer?
(because I get that warning message too ;) )
The warning also continues with:
You can set the client character set thought the NLS_LANG environment variable or the NLS_LANG registry key.
If I execute some scripts from client (client character set WE8MSWIN1252 and database character set UTF8) will
it cause any problem?It depends on what kind of data you're loading/importing. (chinese characters for example)
I never had any problems at all, since I'm not using 'exotic' characters.
You can find related threads on http://asktom.oracle.com/pls/asktom/asktom.search?p_string=%22UTF8%22
and more explanations in the Oracle Globalization Guide: http://download.oracle.com/docs/cd/B19306_01/server.102/b14225/toc.htm -
How to handle national character set datatypes in oracle?
Hi
Can anyone tell me how to handle national character set datatypes in oracle?
Thanks in advanceAnd for data manipulation, append "N" the literal values being used in the command.
The "N" indicates that the string is to be treated as Unicode Text.
For Example: insert into TableName (ColumnName) values (N'ValueToBeInserted'); -
How can i change character set on forms9i runtime?
Hi Every Body,
i am a user on forms9i developer.
i want to know how can i change character set definition when i run a form on web(with oc4j).
is it any JAR file or another file that i can change display of characters on forms9i runtime on web?
thanks a lot.
f-badiee.hi frank,
thanks a lot for your attention.
i have a problem on persian language.
whereas oracle dosn't support persian(farsi) language,
i use arabic character set for simulation.
in oracle developer6i (forms) i had no problem about displaying farsi fonts on runtime.
but in forms9i that runs forms on web(java applet) i can't use farsi fonts correctly.
for example when i type a word(boilerplate text) on farsi language in form builder i can see it correctly but when i run my forms on web , characters of that word have some displacement.
i want to know that is there any configuration file for solving this problem?
thanks a lot.
be successful.
f-badiee. -
Oracle 11g Installation How to select Database Character Set
Hi,
I am Installing oracle 11g R2. After installation I had verified the character set it was AL16UTF16 but I wants to set AL32UTF8 charater set at the time of oracle installation only. I can't see the character set setting opetion at the time of installation because I am selecting the installation option " Install database softerware only" and after installation of oracle software manually I am creating the database. Please help me how can I set the character set at the time of oracle installation or at the time of database creation.
My question is-
How can I set the AL32UTF8 character set in above scenario?
Why It is showing AL16UTF16 character set even I did not define any thing?But is there any choice to set the NLS_CHARACTERSET at the time of manually database creation. Actually For creating the database i am using one shell script for seting the parameter values in init.ora file so can I set the parameter at that level(at the time of creating init.ora using manually database creation). like
## Original init.ora file created by manual database creation tool on ${DATE}.
*.aq_tm_processes=0
*.background_dump_dest='$ORACLE_BASE/admin/$ORACLE_SID/bdump'
*.compatible='10.2.0'
*.control_files='/$db_file_loc/oradata/$ORACLE_SID/control01.ctl','/$db_file_loc/oradata/$ORACLE_SID/control02.ctl','/$db_file_loc/oradata/$ORACLE_SID/control03.ctl'
*.core_dump_dest='$ORACLE_BASE/admin/$ORACLE_SID/cdump'
*.db_block_size=8192
*.db_cache_size=104857600
*.db_domain='$server_name'
*.db_file_multiblock_read_count=8
*.db_name='$ORACLE_SID'
*.fast_start_mttr_target=300
*.instance_name='$ORACLE_SID'
*.java_pool_size=16777216
*.job_queue_processes=4
*.large_pool_size=16777216
*.log_archive_dest='/u05/oradata/$ORACLE_SID'
*.log_archive_format='$ORACLE_SID_%s_%t_%r.arc'
*.olap_page_pool_size=4194304
*.open_cursors=500
*.optimizer_index_cost_adj=50
*.pga_aggregate_target=536870912
*.processes=1500
*.query_rewrite_enabled='TRUE'
*.remote_login_passwordfile='EXCLUSIVE'
*.shared_pool_size=83886080
*.sort_area_size=1048576
*.sga_max_size=1048576000
*.sga_target=536870912
*.star_transformation_enabled='TRUE'
*.timed_statistics=TRUE
*.undo_management='AUTO'
*.undo_retention=10800
*.undo_tablespace='UNDOTBS1'
*.user_dump_dest='$ORACLE_BASE/admin/$ORACLE_SID/udump'
*.utl_file_dir='/export/home/oracle/utlfiles'
**.nls_characterset='AL32UTF8'*
EOF
Is it correct?
Maybe you are looking for
-
How to remove data guard broker configuration when ORA-16625?
I setup data guard broker for a standby database. However, we recreate the database and re-setup the standby database. But find the earlier broker configuration still exists. But I cannot remove or disable the configuration or any database within the
-
Failure to connect - host not responding
I've been video conferencing regularly with my mother in Fla with no problems. We both have macs with mac accounts. I recently tried to initiate a video conference with my in-laws in N.C. and it wouldnt work. They have a PC with an AIM account. Thier
-
Best way to place lots of images into one
Hello, I have made a Javascript script that loops between 20.000+ images and puts them into a main image. Code is: var sampleDocToOpen = File('~/a/'+(l+startF)+'/'+(i+start)+'.png') open (sampleDocToOpen) app.activeDocument.selection.selectAll() app.
-
Any help about CREDIT CARD handling for E-commerce
I want to create a JSP page that would 1)Get credit card information 2)Validate the credit card number 3)handle the transaction Who will be the volunteer to give me detail about all of this process. The implementation of CREDIT CARD TRANSACTION handl
-
Why did Verizon send me a new Broadband Home Router?
I recently received an unexpected package from Verizon. The package contained an Actiontec router and a letter with an inadequate explanation of why the new router is require. It basically said that my current BHR is no longer compatible with their