Arabic letters not displayed in xmltype table [message #615216] |
Sun, 01 June 2014 01:31 |
|
ledo60
Messages: 63 Registered: May 2014
|
Member |
|
|
Hi,
I have a problem in Arabic display from both server and client
I have checked db nls and it's AL32UTF8 and setting Client value AMERICAN_AMERICA.AR8MSWIN,etc was n't helpfull .
Was it XML type issue .
Sample of output:ex.( O???,I?Ui? OiY,?I?I ?E?i),
O/S AIX DB 11g.2.3
Please advice .
|
|
|
|
|
|
|
|
|
|
|
Re: Arabic letters not displayed in xmltype table [message #615232 is a reply to message #615231] |
Sun, 01 June 2014 03:46 |
|
ledo60
Messages: 63 Registered: May 2014
|
Member |
|
|
Sample output
DUMP(table_name)
--------------------------------------------------------------------------------
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,179,143,0,0,0,3,89,0,0,0,1,16,151,0,112,0,0,0,1,9,167,203,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: Arabic letters not displayed in xmltype table [message #615308 is a reply to message #615307] |
Mon, 02 June 2014 03:24 |
cookiemonster
Messages: 13920 Registered: September 2008 Location: Rainy Manchester
|
Senior Member |
|
|
Here's an example XML I just pulled from the web, read the first line:
<?xml version="1.0" encoding="UTF-8"?>
<!-- Edited by XMLSpy -->
-<note><to>Tove</to><from>Jani</from><heading>Reminder</heading><body>Don't forget me this weekend!</body></note>
|
|
|
|
Re: Arabic letters not displayed in xmltype table [message #615310 is a reply to message #615309] |
Mon, 02 June 2014 04:09 |
cookiemonster
Messages: 13920 Registered: September 2008 Location: Rainy Manchester
|
Senior Member |
|
|
The XML didn't appear in the DB by magic, it will have been inserted from another source. So go back to the original source of the XML and check it there. If that doesn't contain it then its not specified, in which case the default UTF-8 is used, which I imagine is the source of your issue.
|
|
|
|
|
|
|
|
|
Re: Arabic letters not displayed in xmltype table [message #615401 is a reply to message #615400] |
Tue, 03 June 2014 07:36 |
Solomon Yakobson
Messages: 3273 Registered: January 2010 Location: Connecticut, USA
|
Senior Member |
|
|
What command? You didn't post anything. For example:
SQL> desc tbl
Name Null? Type
----------------------------------------- -------- ---------------
X SYS.XMLTYPE
SQL> set long 1000
SQL> select x from tbl;
X
-------------------------------------------------------------------
<?xml version="1.0" encoding="US-ASCII"?>
<response>
<statement stment="423112341234">
<error code="113">
<order id="20290003528699"/>
<order id="20290003528703"/>
<order id="20290003528703"/>
</error>
</statement>
</response>
SQL>
SY.
|
|
|
|
|
|
Re: Arabic letters not displayed in xmltype table [message #615482 is a reply to message #615450] |
Wed, 04 June 2014 10:17 |
Lalit Kumar B
Messages: 3174 Registered: May 2013 Location: World Wide on the Web
|
Senior Member |
|
|
I suspect that it's taking a default encoding. As CM already pointed out, it might be the root cause.
Also, you are yet to answer my question regarding any MULTIBYTE characters being used.
Unless you provide any useful information, Its really impossible to comment/conclude about the issue and its root cause. Since, only you would have much better knowledge about the issue than anyone of us here, so, what did you try with your analysis so far?
[Updated on: Wed, 04 June 2014 12:03] Report message to a moderator
|
|
|
|