Do java supports all unicode characters including telugu..??
Hello to Everybody..!
Iam rather new to java technologies and I want to know whether java supports telugu language and if it supports it ,how can we implement it? and is there any system requirements for it.?
Please Kindly consider this query and Thankks in advance.
Yes, Java supports all Unicode characters. If you want to know more about Unicode, have a look at its website:
http://www.unicode.org/
Telugu characters are in their code charts here:
http://www.unicode.org/charts/PDF/U0C00.pdf
You don't have to "implement" anything. System requirements would include a font that can render those characters. I don't know about keyboards.
Similar Messages
-
Java Editor and Unicode Characters
I'm trying to use unicode characters in strings with the Java Editor.
String myOption = "\u2666 " + myDirName;
This works nicely, displaying a diamond in my web application. Source HTML contains a &9830;
However, if I make changes in the Visual Designer (e.g., add a button), the \u2666 in my Java code changes to a diamond symbol. When that happens, I get a "?" in my web application.
How do I prevent Java Editor from switching to the display character?Thanks for your response.
After more research, I found that the .java file is corrupted. These means the problem is not related to the browser.
When I have "\u2666" in the Java Editor window, I see "\u2666" in the .java file in Word Pad. This is properly compiled and the entity ♦ appears in the HTML.
When the diamond symbol is in the Java Editor window, I see and ascii ? (character #3F). I get a ? in the browser. It is really a question mark (#3F) not an unknown character.
So, it appears that when the JSP is changed by adding a button, the .java code is rewritten to disk but unicode characters are not translated properly. Or - something like that. If I could keep the ascii string "\u2666" from converting to the diamond, I would be all set.
I can edit the Java Code, close, save and reopen all I want and the unicode character doesn't translate to the symbol. This ONLY happens when the JSP is modified.
Any ideas? -
Are there some Font supporting all utf-16 code including all supplementary?
Are there some Font supporting all utf-16 code including all supplementary code?
In an application, I need to show some text encoded in utf-16, which is multilingual and
Have some of supplementary character, so want to know a font to show it correctly? While find nothing from the internet, so anybody can instruct me will be very appreciated!Looking forward to your response, thanks.
Message was edited by:
passenger2007Probably not. you might find some fonts listed her that support what you are interested in.
http://www.google.com/search?q=font+that+supports+all+unicode+characters -
Hi all,
I am trying to print certain unicode characters to a file using this code:
import java.io.*;
public class Unicode{
public static void main(String args[]) throws IOException{
char[] c = new char[1];
char ch= '\u0ce6'; //starting character
File f = new File("c:\\UC.txt");
BufferedWriter bf = new BufferedWriter(new FileWriter(f));
while( ch < '\u0cef'){
c[0] = ch++;
bf.write(c, 0, 1);//write the character to a file
bf.flush();
}All I can see in the file is '?????????'. I tried printing it to file as command prompt also showed the same thing. How can I see the Unicode characters of different languages? Do I need to set any char encoding using System properties?
Thank you very much.Sigh there is no such thing as plain text.
You create a file with the platform encoding (read the API docu of the FileWriter). That platform encoding is probably not even able to represent all unicode characters (it's likely to be ISO-8859-1 or one of it's variants).
Then you open that file without specifying the character set (it's guessed, possibly wrong) and you don't see the expected output.
Read http://www.joelonsoftware.com/articles/Unicode.html for an introduction into the beautiful world of unicode. -
The JSP WYSIWYG Editor can't display most Unicode characters
Eclipse supports display of Unicode characters very well since version 3. However, NitroX couldn't display most most of them. Well, besides characters from other non-Western European languages, NitroX can't even display characters that it's supposed to support. Well, that's what I think so. I mean, when we type the & character, we have the whole list of character entity references amongst which we could find ∧ ∇ ∨ → but which are not displayed correctly. And many more are in this case.
Is this a feature or a bug? By "feature", it means that we can't get them in free version.I have exactly the same problem. I support web pages for 25 European countries. I've not seen Nitrox support any unicode characters. Until M7 answers this question or fixes the editor, you can use the Eclipse editor to see and edit the text.
-
Illustrator CS6 is not displaying unicode characters properly.
I need to access certain unicode characters (namely the x/8 fractions). I have the appropriate font installed, and the characters display in every other program on the machine, but they are not displaying correctly in Illustrator. If I type the characters in using alt codes, the 3/8 character displays as "\", the 1/8 character displays as "[", etc. Is there some setting I need to change to enable support for Unicode characters?
*UPDATE*
If I type the character in another program, copy it, and paste it into Illustrator, it shows up as a box with an X through it. If I highlight the box and change the font to one that supports the character, then the character does display correctly. This is, however, quite inconvenient. Is there a way to type the character directly into Illustrator?
Message was edited by: NovakDamienI use the following method...
Mike -
Unicode characters not transferred correctly to mysql from oracle
Hi,
We are transferring data from Oracle11g to MySQL5.5 using DG4ODBC. Data is getting transferred successfully to MySQL, but the Characters like Russian, Chinese etc. are not transferred succesfully. They are shown as ? in MySQL database and even with GUI tools like sqldevelopper or squirrel.
Oracle Uses NLS_Character set is AL32UTF8 and MySQL database is UTF8.
Oracle version is 11.1.0.6.0
MySQL is 5.5.
unixODBC 2.2.11, comes from redhat for RHEL 5
I tried setting HS_LANGUAGE=american_america.al32utf8, but no luck.
Can someone please give hint to configure gateway initialization parameters or some other configuration which is required to support all language characters during transfer.
-SudhakarHi,
Updated to the versions you suggested..Now receiving below error when trying to transfer data from oracle to Mysql using DBMS_HS_PASSTHROUGH.
Actually written procedure to transfer all records..it works on few tables, but throws below error when transferring data from other tables.
Any idea where could be wrong?
ERROR at line 1:
ORA-00604: error occurred at recursive SQL level 1
ORA-02067: transaction or savepoint rollback required
ORA-28511: lost RPC connection to heterogeneous remote agent using
SID=ORA-28511: lost RPC connection to heterogeneous remote agent using
SID=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=XXXXXXX)(PORT=1521))
(CONNECT_DATA=(SID=mysqlodbc)))
ORA-02055: distributed update operation failed; rollback required
ORA-02063: preceding lines from MYSQL
ORA-06512: at "XXXXXXX.TRANSFER_XXXXXX", line 41
ORA-06512: at line 1
below is the gateway trace file dump.....
Oracle Corporation --- TUESDAY DEC 20 2011 14:10:19.578
Heterogeneous Agent Release
11.2.0.3.0
Oracle Corporation --- TUESDAY DEC 20 2011 14:10:19.577
Version 11.2.0.3.0
Entered hgogprd
HOSGIP for "HS_FDS_TRACE_LEVEL" returned "255"
Entered hgosdip
setting HS_OPEN_CURSORS to default of 50
setting HS_FDS_RECOVERY_ACCOUNT to default of "RECOVER"
setting HS_FDS_RECOVERY_PWD to default value
setting HS_FDS_TRANSACTION_LOG to default of HS_TRANSACTION_LOG
setting HS_IDLE_TIMEOUT to default of 0
HOSGIP returned value of "REPEATABLE_READ" for HS_FDS_TRANSACTION_ISOLATION
setting HS_NLS_NCHAR to default of "AL32UTF8"
setting HS_FDS_TIMESTAMP_MAPPING to default of "DATE"
setting HS_FDS_DATE_MAPPING to default of "DATE"
setting HS_RPC_FETCH_REBLOCKING to default of "ON"
setting HS_FDS_FETCH_ROWS to default of "100"
setting HS_FDS_RESULTSET_SUPPORT to default of "FALSE"
setting HS_FDS_RSET_RETURN_ROWCOUNT to default of "FALSE"
setting HS_FDS_PROC_IS_FUNC to default of "FALSE"
setting HS_FDS_MAP_NCHAR to default of "TRUE"
setting HS_NLS_DATE_FORMAT to default of "YYYY-MM-DD HH24:MI:SS"
setting HS_FDS_REPORT_REAL_AS_DOUBLE to default of "FALSE"
setting HS_LONG_PIECE_TRANSFER_SIZE to default of "65536"
setting HS_SQL_HANDLE_STMT_REUSE to default of "FALSE"
setting HS_FDS_QUERY_DRIVER to default of "TRUE"
setting HS_FDS_SUPPORT_STATISTICS to default of "FALSE"
setting HS_FDS_QUOTE_IDENTIFIER to default of "TRUE"
setting HS_KEEP_REMOTE_COLUMN_SIZE to default of "OFF"
setting HS_FDS_GRAPHIC_TO_MBCS to default of "FALSE"
setting HS_FDS_MBCS_TO_GRAPHIC to default of "FALSE"
Default value of 32 assumed for HS_FDS_SQLLEN_INTERPRETATION
setting HS_CALL_NAME_ISP to "gtw$:SQLTables;gtw$:SQLColumns;gtw$:SQLPrimaryKeys;gtw$:SQLForeignKeys;gtw$:SQLProcedures;gtw$:SQLStatistics;gtw$:SQLGetInfo"
setting HS_FDS_DELAYED_OPEN to default of "TRUE"
setting HS_FDS_WORKAROUNDS to default of "0"
Exiting hgosdip, rc=0
ORACLE_SID is "mysqlodbc"
Product-Info:
Port Rls/Upd:3/0 PrdStat:0
Agent:Oracle Database Gateway for ODBC
Facility:hsa
Class:ODBC, ClassVsn:11.2.0.3.0_0011, Instance:mysqlodbc
Exiting hgogprd, rc=0
hostmstr: 0: HOA After hoagprd
hostmstr: 0: HOA Before hoainit
Entered hgoinit
HOCXU_COMP_CSET=1
HOCXU_DRV_CSET=31
HOCXU_DRV_NCHAR=873
HOCXU_DB_CSET=873
HS_LANGUAGE is AMERICAN_AMERICA.WE8ISO8859P1
LANG=en_US.UTF-8
HOCXU_SEM_VER=110000
Entered hgolofn at 2011/12/20-14:10:19
HOSGIP for "HS_FDS_SHAREABLE_NAME" returned "/usr/lib/libodbc.so"
Entered hgolofns at 2011/12/20-14:10:19
libname=/usr/lib/libodbc.so, funcname=SQLAllocHandle
symbol_peflctx=0x8b0790
hoaerr:0
Exiting hgolofns at 2011/12/20-14:10:19
Entered hgolofns at 2011/12/20-14:10:19
libname=/usr/lib/libodbc.so, funcname=SQLBindCol
symbol_peflctx=0x8b0930
hoaerr:0
Exiting hgolofns at 2011/12/20-14:10:19
Entered hgolofns at 2011/12/20-14:10:19
libname=/usr/lib/libodbc.so, funcname=SQLBindParameter
symbol_peflctx=0x8b1350
hoaerr:0
Exiting hgolofns at 2011/12/20-14:10:19
Entered hgolofns at 2011/12/20-14:10:19
libname=/usr/lib/libodbc.so, funcname=SQLCancel
symbol_peflctx=0x8b2b50
hoaerr:0
Exiting hgolofns at 2011/12/20-14:10:19
Entered hgolofns at 2011/12/20-14:10:19
libname=/usr/lib/libodbc.so, funcname=SQLDescribeParam
symbol_peflctx=0x8bc280
hoaerr:0
Exiting hgolofns at 2011/12/20-14:10:19
Entered hgolofns at 2011/12/20-14:10:19
libname=/usr/lib/libodbc.so, funcname=SQLDisconnect
symbol_peflctx=0x8bc810
hoaerr:0
Exiting hgolofns at 2011/12/20-14:10:19
Entered hgolofns at 2011/12/20-14:10:19
libname=/usr/lib/libodbc.so, funcname=SQLEndTran
symbol_peflctx=0x8bf820
hoaerr:0
Exiting hgolofns at 2011/12/20-14:10:19
Entered hgolofns at 2011/12/20-14:10:19
libname=/usr/lib/libodbc.so, funcname=SQLExecute
symbol_peflctx=0x8c1480
hoaerr:0
Exiting hgolofns at 2011/12/20-14:10:19
Entered hgolofns at 2011/12/20-14:10:19
libname=/usr/lib/libodbc.so, funcname=SQLFetch
symbol_peflctx=0x8c1e10
hoaerr:0
Exiting hgolofns at 2011/12/20-14:10:19
Entered hgolofns at 2011/12/20-14:10:19
libname=/usr/lib/libodbc.so, funcname=SQLFreeHandle
symbol_peflctx=0x8c4060
hoaerr:0
Exiting hgolofns at 2011/12/20-14:10:19
Entered hgolofns at 2011/12/20-14:10:19
libname=/usr/lib/libodbc.so, funcname=SQLFreeStmt
symbol_peflctx=0x8c4090
hoaerr:0
Exiting hgolofns at 2011/12/20-14:10:19
Entered hgolofns at 2011/12/20-14:10:19
libname=/usr/lib/libodbc.so, funcname=SQLGetData
symbol_peflctx=0x8c5df0
hoaerr:0
Exiting hgolofns at 2011/12/20-14:10:19
Entered hgolofns at 2011/12/20-14:10:19
libname=/usr/lib/libodbc.so, funcname=SQLGetEnvAttr
symbol_peflctx=0x8c9a30
hoaerr:0
Exiting hgolofns at 2011/12/20-14:10:19
Entered hgolofns at 2011/12/20-14:10:19
libname=/usr/lib/libodbc.so, funcname=SQLGetFunctions
symbol_peflctx=0x8c9e30
hoaerr:0
Exiting hgolofns at 2011/12/20-14:10:19
Entered hgolofns at 2011/12/20-14:10:19
libname=/usr/lib/libodbc.so, funcname=SQLMoreResults
symbol_peflctx=0x8cbef0
hoaerr:0
Exiting hgolofns at 2011/12/20-14:10:19
Entered hgolofns at 2011/12/20-14:10:19
libname=/usr/lib/libodbc.so, funcname=SQLNumResultCols
symbol_peflctx=0x8cce10
hoaerr:0
Exiting hgolofns at 2011/12/20-14:10:19
Entered hgolofns at 2011/12/20-14:10:19
libname=/usr/lib/libodbc.so, funcname=SQLParamData
symbol_peflctx=0x8cd1d0
hoaerr:0
Exiting hgolofns at 2011/12/20-14:10:19
Entered hgolofns at 2011/12/20-14:10:19
libname=/usr/lib/libodbc.so, funcname=SQLPutData
symbol_peflctx=0x8cf810
hoaerr:0
Exiting hgolofns at 2011/12/20-14:10:19
Entered hgolofns at 2011/12/20-14:10:19
libname=/usr/lib/libodbc.so, funcname=SQLRowCount
symbol_peflctx=0x8cfd00
hoaerr:0
Exiting hgolofns at 2011/12/20-14:10:19
Entered hgolofns at 2011/12/20-14:10:19
libname=/usr/lib/libodbc.so, funcname=SQLSetEnvAttr
symbol_peflctx=0x8d26a0
hoaerr:0
Exiting hgolofns at 2011/12/20-14:10:19
Entered hgolofns at 2011/12/20-14:10:19
libname=/usr/lib/libodbc.so, funcname=SQLSetDescRec
symbol_peflctx=0x8d2420
hoaerr:0
Exiting hgolofns at 2011/12/20-14:10:19
Entered hgolofns at 2011/12/20-14:10:19
libname=/usr/lib/libodbc.so, funcname=SQLColAttribute
symbol_peflctx=0x8b3680
hoaerr:0
Exiting hgolofns at 2011/12/20-14:10:19
Entered hgolofns at 2011/12/20-14:10:19
libname=/usr/lib/libodbc.so, funcname=SQLColumns
symbol_peflctx=0x8b5580
hoaerr:0
Exiting hgolofns at 2011/12/20-14:10:19
Entered hgolofns at 2011/12/20-14:10:19
libname=/usr/lib/libodbc.so, funcname=SQLConnect
symbol_peflctx=0x8b96c0
hoaerr:0
Exiting hgolofns at 2011/12/20-14:10:19
Entered hgolofns at 2011/12/20-14:10:19
libname=/usr/lib/libodbc.so, funcname=SQLDescribeCol
symbol_peflctx=0x8bb9a0
hoaerr:0
Exiting hgolofns at 2011/12/20-14:10:19
Entered hgolofns at 2011/12/20-14:10:19
libname=/usr/lib/libodbc.so, funcname=SQLDriverConnect
symbol_peflctx=0x8bd4f0
hoaerr:0
Exiting hgolofns at 2011/12/20-14:10:19
Entered hgolofns at 2011/12/20-14:10:19
libname=/usr/lib/libodbc.so, funcname=SQLExecDirect
symbol_peflctx=0x8c0dc0
hoaerr:0
Exiting hgolofns at 2011/12/20-14:10:19
Entered hgolofns at 2011/12/20-14:10:19
libname=/usr/lib/libodbc.so, funcname=SQLForeignKeys
symbol_peflctx=0x8c2950
hoaerr:0
Exiting hgolofns at 2011/12/20-14:10:19
Entered hgolofns at 2011/12/20-14:10:19
libname=/usr/lib/libodbc.so, funcname=SQLGetConnectAttr
symbol_peflctx=0x8c44f0
hoaerr:0
Exiting hgolofns at 2011/12/20-14:10:19
Entered hgolofns at 2011/12/20-14:10:19
libname=/usr/lib/libodbc.so, funcname=SQLGetDescField
symbol_peflctx=0x8c6620
hoaerr:0
Exiting hgolofns at 2011/12/20-14:10:19
Entered hgolofns at 2011/12/20-14:10:19
libname=/usr/lib/libodbc.so, funcname=SQLGetDescRec
symbol_peflctx=0x8c6cc0
hoaerr:0
Exiting hgolofns at 2011/12/20-14:10:19
Entered hgolofns at 2011/12/20-14:10:19
libname=/usr/lib/libodbc.so, funcname=SQLGetDiagField
symbol_peflctx=0x8c8160
hoaerr:0
Exiting hgolofns at 2011/12/20-14:10:19
Entered hgolofns at 2011/12/20-14:10:19
libname=/usr/lib/libodbc.so, funcname=SQLGetDiagRec
symbol_peflctx=0x8c9030
hoaerr:0
Exiting hgolofns at 2011/12/20-14:10:19
Entered hgolofns at 2011/12/20-14:10:19
libname=/usr/lib/libodbc.so, funcname=SQLGetInfo
symbol_peflctx=0x8caa00
hoaerr:0
Exiting hgolofns at 2011/12/20-14:10:19
Entered hgolofns at 2011/12/20-14:10:19
libname=/usr/lib/libodbc.so, funcname=SQLGetStmtAttr
symbol_peflctx=0x8cad80
hoaerr:0
Exiting hgolofns at 2011/12/20-14:10:19
Entered hgolofns at 2011/12/20-14:10:19
libname=/usr/lib/libodbc.so, funcname=SQLGetTypeInfo
symbol_peflctx=0x8cba60
hoaerr:0
Exiting hgolofns at 2011/12/20-14:10:19
Entered hgolofns at 2011/12/20-14:10:19
libname=/usr/lib/libodbc.so, funcname=SQLPrepare
symbol_peflctx=0x8cdab0
hoaerr:0
Exiting hgolofns at 2011/12/20-14:10:19
Entered hgolofns at 2011/12/20-14:10:19
libname=/usr/lib/libodbc.so, funcname=SQLPrimaryKeys
symbol_peflctx=0x8ce110
hoaerr:0
Exiting hgolofns at 2011/12/20-14:10:19
Entered hgolofns at 2011/12/20-14:10:19
libname=/usr/lib/libodbc.so, funcname=SQLProcedureColumns
symbol_peflctx=0x8ce8b0
hoaerr:0
Exiting hgolofns at 2011/12/20-14:10:19
Entered hgolofns at 2011/12/20-14:10:19
libname=/usr/lib/libodbc.so, funcname=SQLProcedures
symbol_peflctx=0x8cf0d0
hoaerr:0
Exiting hgolofns at 2011/12/20-14:10:19
Entered hgolofns at 2011/12/20-14:10:19
libname=/usr/lib/libodbc.so, funcname=SQLSetConnectAttr
symbol_peflctx=0x8d0040
hoaerr:0
Exiting hgolofns at 2011/12/20-14:10:19
Entered hgolofns at 2011/12/20-14:10:19
libname=/usr/lib/libodbc.so, funcname=SQLSetStmtAttr
symbol_peflctx=0x8d3f00
hoaerr:0
Exiting hgolofns at 2011/12/20-14:10:19
Entered hgolofns at 2011/12/20-14:10:19
libname=/usr/lib/libodbc.so, funcname=SQLSetDescField
symbol_peflctx=0x8d1f80
hoaerr:0
Exiting hgolofns at 2011/12/20-14:10:19
Entered hgolofns at 2011/12/20-14:10:19
libname=/usr/lib/libodbc.so, funcname=SQLStatistics
symbol_peflctx=0x8d5ff0
hoaerr:0
Exiting hgolofns at 2011/12/20-14:10:19
Entered hgolofns at 2011/12/20-14:10:19
libname=/usr/lib/libodbc.so, funcname=SQLTables
symbol_peflctx=0x8d7060
hoaerr:0
Exiting hgolofns at 2011/12/20-14:10:19
Exiting hgolofn, rc=0 at 2011/12/20-14:10:19
HOSGIP for "HS_OPEN_CURSORS" returned "50"
HOSGIP for "HS_FDS_FETCH_ROWS" returned "100"
HOSGIP for "HS_LONG_PIECE_TRANSFER_SIZE" returned "65536"
HOSGIP for "HS_NLS_NUMERIC_CHARACTER" returned ".,"
HOSGIP for "HS_KEEP_REMOTE_COLUMN_SIZE" returned "OFF"
HOSGIP for "HS_FDS_DELAYED_OPEN" returned "TRUE"
HOSGIP for "HS_FDS_WORKAROUNDS" returned "0"
HOSGIP for "HS_FDS_MBCS_TO_GRAPHIC" returned "FALSE"
HOSGIP for "HS_FDS_GRAPHIC_TO_MBCS" returned "FALSE"
Invalid value of 32 given for HS_FDS_SQLLEN_INTERPRETATION
treat_SQLLEN_as_compiled = 1
Exiting hgoinit, rc=0 at 2011/12/20-14:10:19
hostmstr: 0: HOA After hoainit
hostmstr: 0: HOA Before hoalgon
Entered hgolgon at 2011/12/20-14:10:19
reco:0, name:sudhakar, tflag:0
Entered hgosuec at 2011/12/20-14:10:19
Exiting hgosuec, rc=0 at 2011/12/20-14:10:19
HOSGIP for "HS_FDS_RECOVERY_ACCOUNT" returned "RECOVER"
HOSGIP for "HS_FDS_TRANSACTION_LOG" returned "HS_TRANSACTION_LOG"
HOSGIP for "HS_FDS_TIMESTAMP_MAPPING" returned "DATE"
HOSGIP for "HS_FDS_DATE_MAPPING" returned "DATE"
HOSGIP for "HS_FDS_MAP_NCHAR" returned "TRUE"
HOSGIP for "HS_FDS_RESULTSET_SUPPORT" returned "FALSE"
HOSGIP for "HS_FDS_RSET_RETURN_ROWCOUNT" returned "FALSE"
HOSGIP for "HS_FDS_PROC_IS_FUNC" returned "FALSE"
HOSGIP for "HS_FDS_REPORT_REAL_AS_DOUBLE" returned "FALSE"
using sudhakar as default value for "HS_FDS_DEFAULT_OWNER"
HOSGIP for "HS_SQL_HANDLE_STMT_REUSE" returned "FALSE"
Entered hgocont at 2011/12/20-14:10:19
HS_FDS_CONNECT_INFO = "mysql5_hgw"
RC=-1 from HOSGIP for "HS_FDS_CONNECT_STRING"
Entered hgogenconstr at 2011/12/20-14:10:19
dsn:mysql5_hgw, name:sudhakar
optn:
Entered hgocip at 2011/12/20-14:10:19
dsn:mysql5_hgw
Exiting hgocip, rc=0 at 2011/12/20-14:10:19
##>Connect Parameters (len=40)<##
## DSN=mysql5_hgw;
#! UID=sudhakar;
#! PWD=*
Exiting hgogenconstr, rc=0 at 2011/12/20-14:10:19
Entered hgolosf at 2011/12/20-14:10:19
ODBC Function-Available-Array 0xFFFE 0x01FF 0xFF00 0xFFFF 0x03FF 0x0000
0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
0x0000 0x0000 0xFE00 0x3F5F
Exiting hgolosf, rc=0 at 2011/12/20-14:10:19
DriverName:libmyodbc5.so, DriverVer:05.01.0008
DBMS Name:MySQL, DBMS Version:5.5.17-log
Exiting hgocont, rc=0 at 2011/12/20-14:10:19
SQLGetInfo returns Y for SQL_CATALOG_NAME
SQLGetInfo returns 192 for SQL_MAX_CATALOG_NAME_LEN
Exiting hgolgon, rc=0 at 2011/12/20-14:10:19
hostmstr: 0: HOA After hoalgon
RPC Calling nscontrol(0), rc=0
hostmstr: 0: RPC Before Upload Caps
hostmstr: 0: HOA Before hoaulcp
Entered hgoulcp at 2011/12/20-14:10:19
Entered hgowlst at 2011/12/20-14:10:19
Exiting hgowlst, rc=0 at 2011/12/20-14:10:19
SQLGetInfo returns 0x0 for SQL_OWNER_USAGE
TXN Capable:3, Isolation Option:0xf
SQLGetInfo returns 0 for SQL_MAX_SCHEMA_NAME_LEN
SQLGetInfo returns 192 for SQL_MAX_TABLE_NAME_LEN
SQLGetInfo returns 192 for SQL_MAX_PROCEDURE_NAME_LEN
HOSGIP returned value of "TRUE" for HS_FDS_QUOTE_IDENTIFIER
SQLGetInfo returns ` (0x60) for SQL_IDENTIFIER_QUOTE_CHAR
3 instance capabilities will be uploaded
capno:1964, context:0x00000000, add-info: 0
capno:1989, context:0x00000000, add-info: 0
capno:1992, context:0x0001ffff, add-info: 1, translation:"`"
Exiting hgoulcp, rc=0 at 2011/12/20-14:10:19
hostmstr: 0: HOA After hoaulcp
hostmstr: 0: RPC After Upload Caps
hostmstr: 0: RPC Before Upload DDTR
hostmstr: 0: HOA Before hoauldt
Entered hgouldt at 2011/12/20-14:10:19
NO instance DD translations were uploaded
Exiting hgouldt, rc=0 at 2011/12/20-14:10:19
hostmstr: 0: HOA After hoauldt
hostmstr: 0: RPC After Upload DDTR
hostmstr: 0: RPC Before Begin Trans
hostmstr: 0: HOA Before hoabegn
Entered hgobegn at 2011/12/20-14:10:19
tflag:0 , initial:1
hoi:0xbfb25bdc, ttid (len 35) is ...
00: 4F52434C 2E454445 4C4B4559 2E4E4554 [ORCL.EDELKEY.NET]
10: 2E653064 34343962 342E332E 312E3535 [.e0d449b4.3.1.55]
20: 363334 [634]
tbid (len 32) is ...
00: 4F52434C 2E454445 4C4B4559 2E4E4554 [ORCL.EDELKEY.NET]
10: 5B332E31 2E353536 33345D5B 312E345D [[3.1.55634][1.4]]
Exiting hgobegn, rc=0 at 2011/12/20-14:10:19
hostmstr: 0: HOA After hoabegn
hostmstr: 0: RPC After Begin Trans
hostmstr: 0: RPC Before SQL Bundling
hostmstr: 0: HOA Before hoxpars
Entered hgopars, cursor id 1 at 2011/12/20-14:10:19
type:1
SQL text from hgopars, id=1, len=530 ...
000: 696E7365 72742069 6E746F20 73746174 [insert into xxxx]
010: 696F6E73 20282273 74617469 6F6E6964 [xxxx ("xxxxxxxxx]
020: 222C2261 646D696E 64657363 72697074 [","xxxxxxxxxxxxx]
030: 696F6E22 2C22636F 756E7472 79696422 [xxx","xxxxxxxxx"]
040: 2C226465 73637269 7074696F 6E222C22 [,"xxxxxxxxxxx","]
050: 6C616E67 75616765 6964222C 226C696E [xxxxxxxxxx","xxx]
060: 6B6F7468 65727365 72766963 6573222C [xxxxxxxxxxxxxx",]
070: 226C6F67 6F75726C 222C226C 6F6E6764 ["xxxxxxx","xxxxx]
080: 65736372 69707469 6F6E222C 226E616D [xxxxxxxxxx","xxx]
090: 65222C22 73746174 7573222C 2274696D [e","xxxxxx","xxx]
0A0: 65637265 61746564 222C2274 696D6575 [xxxxxxxx","xxxxx]
0B0: 70646174 6564222C 22757365 72696463 [pdated","xxxxxxx]
0C0: 72656174 6564222C 22757365 72696475 [xxxxxx","xxxxxxx]
0D0: 70646174 6564222C 22776562 73697465 [pdated","xxxxxxx]
0E0: 222C2262 726F6164 63617374 65726964 [","xxxxxxxxxxxxx]
0F0: 222C2273 74617469 6F6E735F 696E7465 [","xxxxxxxxxxxxx]
100: 6765725F 69647822 2C226261 6E6E6572 [ger_idx","xxxxxx]
110: 5F616363 6573735F 64617465 222C2262 [xxxxxxxxxxxx","b]
120: 616E6E65 725F696D 706C5F64 61746522 [xxxxxxxxxxxxxxx"]
130: 2C226261 6E6E6572 5F72656D 6F766564 [,"xxxxxxxxxxxxxx]
140: 5F646174 65222C22 62726F61 64636173 [_date","xxxxxxxx]
150: 745F7479 7065222C 227A6F6E 65696422 [t_type","xxxxxx"]
160: 2C226272 6F616463 6173745F 72616E64 [,"xxxxxxxxxxxxxx]
170: 6F6D5F72 6561736F 6E222C22 6669656C [xxxxxxxxx","fiel]
180: 64736368 65636B65 64222C22 65787465 [xxxxxxxxx","exte]
190: 726E616C 73746174 696F6E69 64222C22 [xxxxxxxxxxxxx","]
1A0: 6D61696E 74656E61 6E636562 726F6164 [xxxxxxxxxxxxxxxx]
1B0: 63617374 65726964 222C2261 6C746572 [xxxxxxxx","alter]
1C0: 6E617469 76655F6E 616D6522 290A2020 [xxxxxxxxxxx"). ]
1D0: 20202020 56414C55 45532028 3F2C3F2C [ VALUES (?,?,]
1E0: 3F2C3F2C 3F2C3F2C 3F2C3F2C 3F2C3F2C [?,?,?,?,?,?,?,?,]
210: 3F29 [?)]
Exiting hgopars, rc=0 at 2011/12/20-14:10:19
hostmstr: 0: HOA After hoxpars
hostmstr: 0: RPC After SQL Bundling
hostmstr: 0: RPC Before SQL Bundling
hostmstr: 0: HOA Before hoaexec
Entered hgoexec, cursor id 1 at 2011/12/20-14:10:19
octype=0 (?????)
hgoexec, line 145: Printing hoada @ 0x9e7e1b8
MAX:27, ACTUAL:27, BRC:1, WHT=3 (BIND_LIST)
hoadaMOD bit-values found (0x200:TREAT_AS_CHAR)
DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
3 DECIMAL N 6 0 0/ 0 0 0 0
12 VARCHAR Y 0 0 0/ 0 31 -1 200
3 DECIMAL N 2 0 0/ 0 0 0 0
12 VARCHAR N 18 0 0/ 0 31 0 200
3 DECIMAL N 3 0 0/ 0 0 0 0
3 DECIMAL N 1 0 0/ 0 0 0 0
12 VARCHAR Y 0 0 0/ 0 31 -1 200
12 VARCHAR N 196 0 0/ 0 31 0 200
12 VARCHAR N 33 0 0/ 0 31 0 200
3 DECIMAL N 1 0 0/ 0 0 0 0
93 TIMESTAMP N 16 0 0/ 0 0 0 0
93 TIMESTAMP Y 0 0 0/ 0 0 -1 0
3 DECIMAL N 4 0 0/ 0 0 0 0
3 DECIMAL Y 0 0 0/ 0 0 -1 0
12 VARCHAR N 52 0 0/ 0 31 0 200
3 DECIMAL N 5 0 0/ 0 0 0 0
3 DECIMAL N 5 0 0/ 0 0 0 0
93 TIMESTAMP Y 0 0 0/ 0 0 -1 0
93 TIMESTAMP Y 0 0 0/ 0 0 -1 0
93 TIMESTAMP Y 0 0 0/ 0 0 -1 0
3 DECIMAL N 1 0 0/ 0 0 0 0
3 DECIMAL Y 0 0 0/ 0 0 -1 0
12 VARCHAR Y 0 0 0/ 0 31 -1 200
3 DECIMAL N 1 0 0/ 0 0 0 0
3 DECIMAL N 6 0 0/ 0 0 0 0
3 DECIMAL Y 0 0 0/ 0 0 -1 0
12 VARCHAR Y 0 0 0/ 0 31 -1 200
Entered hgoprbv at 2011/12/20-14:10:19
hgoprbv, line 162: Printing hoada @ 0x9e7e1b8
MAX:27, ACTUAL:27, BRC:1, WHT=3 (BIND_LIST)
hoadaMOD bit-values found (0x200:TREAT_AS_CHAR)
DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
3 DECIMAL N 6 0 0/ 0 0 0 0
12 VARCHAR Y 0 0 0/ 0 31 -1 200
3 DECIMAL N 2 0 0/ 0 0 0 0
12 VARCHAR N 18 0 0/ 0 31 0 200
3 DECIMAL N 3 0 0/ 0 0 0 0
3 DECIMAL N 1 0 0/ 0 0 0 0
12 VARCHAR Y 0 0 0/ 0 31 -1 200
12 VARCHAR N 196 0 0/ 0 31 0 200
12 VARCHAR N 33 0 0/ 0 31 0 200
3 DECIMAL N 1 0 0/ 0 0 0 0
93 TIMESTAMP N 16 0 0/ 0 0 0 0
93 TIMESTAMP Y 0 0 0/ 0 0 -1 0
3 DECIMAL N 4 0 0/ 0 0 0 0
3 DECIMAL Y 0 0 0/ 0 0 -1 0
12 VARCHAR N 52 0 0/ 0 31 0 200
3 DECIMAL N 5 0 0/ 0 0 0 0
3 DECIMAL N 5 0 0/ 0 0 0 0
93 TIMESTAMP Y 0 0 0/ 0 0 -1 0
93 TIMESTAMP Y 0 0 0/ 0 0 -1 0
93 TIMESTAMP Y 0 0 0/ 0 0 -1 0
3 DECIMAL N 1 0 0/ 0 0 0 0
3 DECIMAL Y 0 0 0/ 0 0 -1 0
12 VARCHAR Y 0 0 0/ 0 31 -1 200
3 DECIMAL N 1 0 0/ 0 0 0 0
3 DECIMAL N 6 0 0/ 0 0 0 0
3 DECIMAL Y 0 0 0/ 0 0 -1 0
12 VARCHAR Y 0 0 0/ 0 31 -1 200
Entered WP_SQLBindParameter at 2011/12/20-14:10:19
ParameterNumber 1, InputOutputType 1, ValueType 1, ParameterType 3,
ColumnSize 6, DecimalDigits 0, BufferLength 6,StrLen_or_IndPtr 0x0x9e909cc (*0x6)
(Array size: 1)
6 bytes of data at 0x0x9e8d684...
0: 32303536 3835 [205685]
Exiting WP_SQLBindParameter, rc=0 at 2011/12/20-14:10:19
Entered WP_SQLBindParameter at 2011/12/20-14:10:19
ParameterNumber 2, InputOutputType 1, ValueType 1, ParameterType 12,
ColumnSize 1, DecimalDigits 0, BufferLength 0,StrLen_or_IndPtr 0x0x9e909d0 (*0xffffffff)
NULL Data Specified
Exiting WP_SQLBindParameter, rc=0 at 2011/12/20-14:10:19
Entered WP_SQLBindParameter at 2011/12/20-14:10:19
ParameterNumber 3, InputOutputType 1, ValueType 1, ParameterType 3,
ColumnSize 2, DecimalDigits 0, BufferLength 2,StrLen_or_IndPtr 0x0x9e909d4 (*0x2)
(Array size: 1)
2 bytes of data at 0x0x9e8d634...
0: 3330 [30]
Exiting WP_SQLBindParameter, rc=0 at 2011/12/20-14:10:19
Entered WP_SQLBindParameter at 2011/12/20-14:10:19
ParameterNumber 4, InputOutputType 1, ValueType 1, ParameterType 12,
ColumnSize 18, DecimalDigits 0, BufferLength 18,StrLen_or_IndPtr 0x0x9e909d8 (*0x12)
(Array size: 1)
18 bytes of data at 0x0x9e7df70...
00: 41205265 64652064 61204661 6DED6C69 [A Rede da Fam.li]
10: 612E [a.]
Exiting WP_SQLBindParameter, rc=0 at 2011/12/20-14:10:19
Entered WP_SQLBindParameter at 2011/12/20-14:10:19
ParameterNumber 5, InputOutputType 1, ValueType 1, ParameterType 3,
ColumnSize 3, DecimalDigits 0, BufferLength 3,StrLen_or_IndPtr 0x0x9e909dc (*0x3)
(Array size: 1)
3 bytes of data at 0x0x9e8d5e4...
0: 313336 [136]
Exiting WP_SQLBindParameter, rc=0 at 2011/12/20-14:10:19
Entered WP_SQLBindParameter at 2011/12/20-14:10:19
ParameterNumber 6, InputOutputType 1, ValueType 1, ParameterType 3,
ColumnSize 1, DecimalDigits 0, BufferLength 1,StrLen_or_IndPtr 0x0x9e909e0 (*0x1)
(Array size: 1)
1 bytes of data at 0x0x9e8d594...
0: 31 [1]
Exiting WP_SQLBindParameter, rc=0 at 2011/12/20-14:10:19
Entered WP_SQLBindParameter at 2011/12/20-14:10:19
ParameterNumber 7, InputOutputType 1, ValueType 1, ParameterType 12,
ColumnSize 1, DecimalDigits 0, BufferLength 0,StrLen_or_IndPtr 0x0x9e909e4 (*0xffffffff)
NULL Data Specified
Exiting WP_SQLBindParameter, rc=0 at 2011/12/20-14:10:19
Entered WP_SQLBindParameter at 2011/12/20-14:10:19
ParameterNumber 8, InputOutputType 1, ValueType 1, ParameterType 12,
ColumnSize 196, DecimalDigits 0, BufferLength 196,StrLen_or_IndPtr 0x0x9e909e8 (*0xc4)
(Array size: 1)
196 bytes of data at 0x0x9e8d4b8...
00: 41207072 6F677261 6D61E7E3 6F206461 [A xxxxxxxx..o da]
10: 20526564 6520416C 656C7569 6120E920 [ Rede Aleluia . ]
20: 636F6D70 6F737461 20706F72 2063616E [xxxxxxxx por can]
30: E7F56573 2073656C 6563696F 6E616461 [..es xxxxxxxxxxx]
40: 73206520 666C6173 68626163 6B732071 [s e xxxxxxxxxx q]
50: 7565206D 61726361 72616D20 E9706F63 [ue marcaram .poc]
60: 612C2061 6CE96D20 6465206D 656C6F64 [a, al.m de melod]
70: 69617320 696E7374 72756D65 6E746169 [ias xxxxxxxxxxxx]
80: 732C2074 75646F20 656D2070 65726665 [s, tudo em perfe]
90: 69746120 6861726D 6F6E6961 2C207072 [ita xxxxxxxx, pr]
A0: 6F706F72 63696F6E 616E646F 20756D61 [xxxxxxxxxxxx uma]
B0: 2072E164 696F2064 65207175 616C6964 [ r.dio de qualid]
C0: 6164652E [ade.]
Exiting WP_SQLBindParameter, rc=0 at 2011/12/20-14:10:19
Entered WP_SQLBindParameter at 2011/12/20-14:10:19
ParameterNumber 9, InputOutputType 1, ValueType 1, ParameterType 12,
ColumnSize 33, DecimalDigits 0, BufferLength 33,StrLen_or_IndPtr 0x0x9e909ec (*0x21)
(Array size: 1)
33 bytes of data at 0x0x9e8d488...
00: 52E16469 6F20416C 656C7569 6120464D [R.xxx xxxxxxxxxx]
10: 20285269 62656972 E36F2050 7265746F [ (xxxxxx.o xxxxx]
20: 29 [)]
Exiting WP_SQLBindParameter, rc=0 at 2011/12/20-14:10:19
Entered WP_SQLBindParameter at 2011/12/20-14:10:19
ParameterNumber 10, InputOutputType 1, ValueType 1, ParameterType 3,
ColumnSize 1, DecimalDigits 0, BufferLength 1,StrLen_or_IndPtr 0x0x9e909f0 (*0x1)
(Array size: 1)
1 bytes of data at 0x0x9e8d438...
0: 31 [1]
Exiting WP_SQLBindParameter, rc=0 at 2011/12/20-14:10:19
Entered WP_SQLBindParameter at 2011/12/20-14:10:19
ParameterNumber 11, InputOutputType 1, ValueType 93, ParameterType 93,
ColumnSize 19, DecimalDigits 0, BufferLength 16,StrLen_or_IndPtr 0x0x9e909f4 (*0x10)
(Array size: 1)
16 bytes of data at 0x0x9e74d30...
00: DB070C00 12001400 17003700 00000000 [..........7.....]
Exiting WP_SQLBindParameter, rc=0 at 2011/12/20-14:10:19
Edited by: 902859 on 20-Dec-2011 05:00
Edited by: 902859 on 20-Dec-2011 05:01 -
Hi guys.
I use QT SDK to write a sample to load movie files.
when install QuickTime7.7.1 and call QT SDK's interface(OpenMovieFile method) to open file, it doesn't work. i will get error(-36). but when i use QT 7.6.9, it works well.
so how can i use QT SDK(install QT7.7.1 and OS is windows xp) to open movie file which fullpath include wide unicode characters(like D:\Media動画).
much appreciate.For Bex Query Application string 7.x Version Error
-
How do I get unicode characters out of an oracle.xdb.XMLType in Java?
The subject says it all. Something that should be simple and error free. Here's the code...
String xml = new String("<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<x>\u2026</x>\n");
XMLType xmlType = new XMLType(conn, xml);
conn is an oci8 connection.
How do I get the original string back out of xmlType? I've tried xmlType.getClobVal() and xmlType.getString() but these change my \u2026 to 191 (question mark). I've tried xmlType.getBlobVal(CharacterSet.UNICODE_2_CHARSET).getBytes() (and substituted CharacterSet.UNICODE_2_CHARSET with a number of different CharacterSet values), but while the unicode characters are encoded correctly the blob returned has two bytes cut off the end for every unicode character contained in the original string.
I just need one method that actually works.
I'm using Oracle release 11.1.0.7.0. I'd mention NLS_LANG and file.encoding, but I'm setting the PrintStream I'm using for output explicitly to UTF-8 so these shouldn't, I think, have any bearing on the question.
Thanks for your time.
Stryder, aka RalphI created analogic test case, and executed it with DB 11.1.0.7 (Linux x86), which seems to work fine.
Please refer to the execution procedure below:
* I used AL32UTF8 database.
1. Create simple test case by executing the following SQL script from SQL*Plus:
connect / as sysdba
create user testxml identified by testxml;
grant connect, resource to testxml;
connect testxml/testxml
create table testtab (xml xmltype) ;
insert into testtab values (xmltype('<?xml version="1.0" encoding="UTF-8"?>'||chr(10)||'<x>'||unistr('\2026')||'</x>'||chr(10)));
-- chr(10) is a linefeed code.
commit;
2. Create QueryXMLType.java as follows:
import java.sql.*;
import oracle.sql.*;
import oracle.jdbc.*;
import oracle.xdb.XMLType;
import java.util.*;
public class QueryXMLType
public static void main(String[] args) throws Exception, SQLException
DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
OracleConnection conn = (OracleConnection) DriverManager.getConnection("jdbc:oracle:oci8:@localhost:1521:orcl", "testxml", "testxml");
OraclePreparedStatement stmt = (OraclePreparedStatement)conn.prepareStatement("select xml from testtab");
ResultSet rs = stmt.executeQuery();
OracleResultSet orset = (OracleResultSet) rs;
while (rs.next())
XMLType xml = XMLType.createXML(orset.getOPAQUE(1));
System.out.println(xml.getStringVal());
rs.close();
stmt.close();
3. Compile QueryXMLType.java and execute QueryXMLType.class as follows:
export PATH=$ORACLE_HOME/jdk/bin:$PATH
export LD_LIBRARY_PATH=$ORACLE_HOME/lib
export CLASSPATH=.:$ORACLE_HOME/jdbc/lib/ojdbc5.jar:$ORACLE_HOME/jlib/orai18n.jar:$ORACLE_HOME/rdbms/jlib/xdb.jar:$ORACLE_HOME/lib/xmlparserv2.jar
javac QueryXMLType.java
java QueryXMLType
-> Then you will see U+2026 character (horizontal ellipsis) is properly output.
My Java code came from "Oracle XML DB Developer's Guide 11g Release 1 (11.1) Part Number B28369-04" with some modification of:
- Example 14-1 XMLType Java: Using JDBC to Query an XMLType Table
http://download.oracle.com/docs/cd/B28359_01/appdev.111/b28369/xdb11jav.htm#i1033914
and
- Example 18-23 Using XQuery with JDBC
http://download.oracle.com/docs/cd/B28359_01/appdev.111/b28369/xdb_xquery.htm#CBAEEJDE -
Java class names which contain unicode characters
I need to create, compile and load java classes which have class names that contain unicode characters.
I am using Win2k but will neet to support unix* in future.
When I try to create a fooXbar.jar where X is a unicode character which is not ascii I get an error when creating the file.
My question is: how do I map java class names and package names which contain non ascii characters into
names that the files systems will like AND that the java VM will use when trying to load .class file from the class path.
for example what would the .java and .class file be for the following class?
class \u6587\u66f8 {You could make names for .java and .class that is understandable by the filesystem. E.g. you could prepend with % and then digits for the unicode character. The problem is then how to compile the class, and how to load the class.
You can load the class with a custom classloader, which will translate the unicode class name to the escaped file name (using %).
The problem is then reduced to how you can compile your code (you have to map the file name to the class name somehow). I think it can be done, but I don't know the solution to that.
Alternatively you can use meaningful names for the classes, and then make an obfuscator that can change the bytecodes so the classnames are changed to some obscure unicode names. Perhaps there is already obfuscators out there you can use that will use unicode characters. -
Java, International language, Unicode, Chinese or accented characters
Hi, I've posted a message in the new to forum but think that this is more of an advanced problem.
Sorry for duplication.
I am having trouble getting java to output Strings that contain unicode characters out of the normal ascii set. This includes accented letters and chinese characters.
Example code:
String jintian = "??"
System.out.println(jintian) ;(The string jintian should refer to two chinese characters. I'm having trouble getting these to appear properly here, you may see ??.)
Basically if I run this code the output I get is ??. Questionmarks in place of the chinese characters.
There is either a problem here with Java or with my Shell but I don't know how to troubleshoot this.
I can tell you that my shell is able to display chinese characters, but with the ls command I have to use a flag. -v. I have tried using this -v flag with the java command but it is rejected.
One more thing, when compiling I am using the -encoding=UTF-8 flag.
I have the line ...
export LANG=en_UK.UTF-8... in my bash profile.
Any ideas, I would be really grateful.
Message was edited by:
stanton_ian
Message was edited by:
stanton_ian
In case anyone is interested in trying this themselves and doesn't know how to put in the Chinese characters here is a link to a pre-written very simple Class. http://freespace.virgin.net/i.stanton/NiHao.html .
You will need to save the file in utf8 encoding and compile it with the -encoding UTF-8 flag.Between jdk1.2 and jdk 1.3 the default encoding of the vm changed.
You can get it by executing:
System.out.println("Default Encoding:" + System.getProperty("file.encoding"));
or
System.out.println("Default Encoding:" + (new java.io.InputStreamReader(System.in)).getEncoding());
The default encoding is used during the conversion of bytes to strings and vice verca.
Assume your default encoding is ISO8859_1. Then calling new String(byte[]) is equivalent to calling
new String(byte[], "ISO8859_1")
Now if you are converting a character from one encoding scheme to another and there is no mapping
for this character in the target scheme. Then the character will be replaced by a default character
which is (quite often) the question mark.
You can set the default encoding for a vm by passing it as a command line parameter
java -Dfile.encoding=ISO8859_1
java -Dfile.encoding=Cp1252 -
Printing unicode characters in Java - help
Hi there,
I want to print out unicode characters through java programming language in windows system. For example, I want to print Devanagari characters. I found out that '\u0900' to '\u0975' represent devanagari characters. So I tried following,
out = new PrintStream(System.out, true, "UTF-8");
out.println('\u0911');
but they print characters like ��� and not the actual devanagari characters. Just to be more clear, devanagari script is used by Hindi, Nepali and similar languages.
If you knew about it and could give any suggestions, that would be very helpful.
Thanks in advance!priyankabhar wrote:
I am not sure, it is just a windows system and I am trying to print to the command line. Please suggest me how I can find out if my console supports it.Use the CHCP command to find out what code page your console uses. And as already suggested, Google is a good resource if you don't know what a "code page" is. -
Does photoshop cs5 sdk support file names with unicode characters?
Hi,
For the export module, does the windows sdk have support for filenames with unicode characters?
The ExportRecord struct in PIExport.h has an attribute filename declared as char array.
So I have a doubt whether filenames with unicode characters will be supported for export module.
Thanks in advance,
Senthil.SPPlatformFileSpecificationW is not available in ReadImageDocumentDesc.
It has SPPlatformFileSpecification_t which is coming as null for export module.
I am using phostoshop cs5 sdk for windows.
Thanks,
Senthil. -
Call me a newbie, but since I had to resintall my machine usnig a "service pack 2 edition" of windows XP not only I lost all java support, but also it won't even let me install netbeans as there's no longer a virtual machine in explorer. I installed Netscape to see if that fixed the problem, but it still won't let me install netbeans, same "no virtual machine found" message in the way. Is there any way I can recover java support?
You apparently need to install the Sun's Java Software Develeopment Kit (SDK), from this page (if you want the most current Java 5 version):
http://java.sun.com/j2se/1.5.0/download.jsp
This is needed before you can install Netbeans. -
Does Java Card 2 API support all the smart card?
Does Java Card 2 API support all the smart card? I guess all the java cards are smart card but all the smart card are not java card. so Java card 2 API supports only java card. It does not support all the smart card. Please somebody let me know wheather I am correct or not. Because I want to make an application which supports all the smart card. I am confuse wheather I have to use JavaCard API or OCF or any other framework/API. Please help me. Thanks
I am clear with java card.
But I want to make an application which can verify the PIN inside card and read logon certificate, which is saved inside card. Is there any framework which I can use to full fill my simple requiremnt. I dont want to deal with any applet inside card.
Maybe you are looking for
-
Reading the data from network card
Hi, java.net defines the class NetworkInterface. Currently there are two network cards, one is wireless and another is for LAN.I am able to retrive their names and IP addresses using NetworkInterface methods.How to read the data from a specifc networ
-
Norton anti-virus slows down the start up time in Windows Vista
Hi, please help, i am being driven to distraction by the slow start up time of my laptop. I've only had it for a few weeks and don't use it for anything beyond producing word documents etc. It has gradually been getting slower on startup and i suspec
-
Though I found LabVIEW very interesting , still some of its basic fundamentals are not clear, like using comparison operators (>,<,..) for solving different mathematical expressions. Please give example showing how to use such operators in advanced m
-
What is the current sampling rate for iTunes store purchases
As a dinosaur, I still like getting my music on CD's (and, in fact, I still have quite an LP collection). But even CD's are becoming harder to come by these days and I have found that with the right sampling and codec (256KB/vbr AAC), my lossy compre
-
my laptop's cooloing fan is not working properly....can i use the laptop with this problem