UNICODE CHARACTER NOT WORKING
hi,
I was trying to output the pound sign. So I went to:
http://www.fileformat.info/info/unicode/char/00a3/index.htm
And over there it says that
C/C++/Java source code "\u00A3" So I wrote the following just to test:
public class Identifiers {
public static void main (String[] args) {
System.out.println('\u00A3');
}But when I run the program I get:
C:\j2sdk1.4.2_10\bin>java -cp . Identifiers
�
First of all: Stop shouting !
But when I run the program I get:
C:\j2sdk1.4.2_10\bin>java -cp . Identifiers
�That's a problem of the codepage you use in your
command prompt window.
Check which codepage your compand window is using and
either convert the output to the character set of
your comand window or change the codepage of the
comand window.ok, thanks. At least the program is working, I guess I'll just have to research into the MS-DOS prompt and codepage
Similar Messages
-
ADF Unicode character ï not displaying fine in af:outputFormatted
Hi,
I have a database column that stores unicode characters as : "ï"
Eg : Helloï
Now ï represents a Unicode character.
I am using an af:outputFormatted UI element to display this.
The encoding for the VO which reads from the database is "UTF-8" and the PageDefinition file for the Page is also "UTF-8"
But it is not shown as the Unicode Character but rather ï
I also tried replacing it as \u00E9 and it disn;t work either too.
Kindly help.<af:outputFormatted id="uni" value="#{'ï'}"/>
The above code works for me so assuming your string have the proper value it should also work for you. -
Unicode character not displaying when PDF is created using PDFMaker
Using Adobe Acrobat Pro 9
Our company letterhead contains a special character (Unicode 25AA "Black Small Square"). When a PDF is created of a Microsoft Word document (2003 or 2007) using the PDFMaker, that character is not displayed in Acrobat (shows as whitespace). Strangely enough, if I search for the character in that PDF file using the Acrobat search function (query "u/25AA"), the search finds the character, but again, it is displayed as whitespace.
However, if I create a PDF from that same Word document by printing to Adobe PDF, the character displays correctly in Acrobat. Additionally, if I do a SaveAs to PDF (Using the Microsoft plugin), the character displays correctly in Acrobat. This leads me to believe that muy issue is related to the PDFMaker (as opposed to the PDF printing function) and how the character is embedded into the PDF file. I have tried opening the PDF in other versions of Acrobat, but I get the same result.
Any suggestions? We would like to utilize the convenience of the PDFMaker for our letters and reports, and not have to use the print function. I can email a sample of all the PDF's I spoke of upon request, but the issue should be reproducable using the following steps:
1. Open MS Word and type (or copy from the Character Map) unicode character 25AA in Arial font.
2. Save Word file.
3. Use PDFMaker to create PDF file.
4. Open PDF file and view results.
Any guidance or help is appreciated.
Phil HintonFirst, check the fonts in the PDF to be sure that they are not embedded (you are likely correct that there is a problem). What job settings are you using. Try the press or print. Also check the job settings to be sure that ALL fonts are to be embedded.
Also, check the log file of Distiller (set it to not be deleted in the settings). If there is an issue with the license of the font then the font will not be embedded. In that case you need to find a licensed version of the font or change to a different font. -
Unicode character not displaying correctly
when i am stroring Unicode Character in Oracle 8 DB .The Stored Character are not displayed correctly . Through sql client seen as '�' .Altough through JSp it displays correct value 集 (in japanese)
My client wants to see through sql also same value . Pls help wat is wrong. More info :
Oracle is set up in UTF-8 Format.
Using code as below before inserting in DB
String temp =product.getDescription();
String newResult = new String(temp.getBytes("UTF-8"), "UTF-8");TryString newResult = new String(temp.getBytes(default),>
"UTF-8");// "default" is a String of the name of
default encoding on the part of client
Sorry there was a slip. Try the following.
String newResult = new String(temp.getBytes(default)); -
Phone numbers with "pause character" not working same as first-gen iPhone
Is this a bug?
When I configure a phone number in my contact list to use the "pause" character (which shows up as a comma character in the display) a number of strange things happen.
For instance, if I configure the following: (###) ###-#### ,,**2216464#
where (###) ###-#### is my office phone number
,, is a pause to allow for the automated attendent to pick-up
** is recognized by my phone system as a transfer to my voice mailbox
2216464 is my voice mailbox
# is a termination character recognized by my phone system.
Using my first-generation iPhone, this worked fine.
Using my new iPhone 3G, this no longer works.
Some observations:
When directly using the touchpad on the iPhone, it appears to send DTMF tones as quickly and for as long as you hold your finger on the keypad. But, if you configure a phone number in the contact list and that phone number has a pause in it, each number configured after the pause will actuate for several seconds. The tone for each number (in this case, the 2216464) last SO long that my phone system gives up on the call and, basically, terminates the call. In addition, the inter-digit time is SO small as to be non-existant. In other words, in my sample phone number, the leading two digit of my mailbox number sound like they are expressed by the iPhone as a single, extra-long tone. There should be a longer pause between the first two digits. If I attempt to break them apart by inserting a pause (displayed as a comma), the pause is SO long that, again, my phone system gives up.
So, in summary:
Why did this change between the first generation and second generation iPhones?
Also, why is the pause "character" SO LONG? Instead of making a pause character, say, four seconds, why not make it one second and let the user put in four pauses if they want a four-second pause?
Why does the character length appear to extend after use of a pause character?
Why is the inter-digit pause practically non-existant?
Thanks.
KenI'm having the same issue. I just got the phone last week and was trying to call a number with an extension. After realizing that Address book does not have an extension field I reformatted the phone number using the "pause" (comma). With this in place it will not dial the number. Remove the pause however, and it will dial the root phone number.
Please tell me this is just a bug and will be fixed soon. It's bad enough that I've had to spend the last week reworking my contacts in Address Book after having to jump ship from my Palm software. As a business user it is a regular piece of daily business to encounter the automated receptionist asking for someone's extension. Since the iPhone doesn't show the number you just dialed (the extension is in there after the "x" but it doesn't recognize it) you end up having to memorize the extension prior to making each call. -
[HELP!] perl and unicode are not working
I have a database that I know supports Unicode, I'm trying to read/write data using perl and I'm pulling my hair out! I have a table populated with some Unicode characters that I inserted using TOAD and this sql statement:
insert into jay_test values (-101, 'Τη γλώσσα μου έδωσ');
When I look at the data in TOAD everything looks great, when I read the data out using .NET it works great, when I read it out using PERL the result if a bunch of question marks.
Here is the code:
#!/usr/bin/perl -w
<%
use utf8;
use DBD::Oracle;
$Response->AddHeader("Content-Type","text/html; charset=utf-8;");
my $dbh2 = DBI->connect($db, $user, $password, {AutoCommit => 1});
my $x = $dbh2->ora_can_unicode();
my $sth = $dbh2->prepare("SELECT i, j from jay_test order by i desc");
$sth->execute();
while (my ($i, $j) = $sth->fetchrow_array()) {
debug("i = $i, j = $j");
$html .= qq{
<tr>
<td>$i</td>
<td>$j</td>
</tr>
The result is this:
-101 ?? ?????? ??? ????
As a note: the line "$dbh2->ora_can_unicode();" returns a value of 3, which means that Unicode should be fully supported.
Anyone who can point me in the right direction will be my savior! Thanks in advanceThe OS is Red Hat Enterprise Linux Server release 5.4 (Tikanga)
The Kernel is 2.6.18
Database is 10g
Toad is 10.1.1.8
Here are the parameters that PERL is seeing:
my $params = $dbh2->ora_nls_parameters();
print_r($params); return;
[Hash] {
NLS_CALENDAR => GREGORIAN
NLS_CHARACTERSET => AL32UTF8
NLS_COMP => BINARY
NLS_CURRENCY => $
NLS_DATE_FORMAT => DD-MON-RR
NLS_DATE_LANGUAGE => AMERICAN
NLS_DUAL_CURRENCY => $
NLS_ISO_CURRENCY => AMERICA
NLS_LANGUAGE => AMERICAN
NLS_LENGTH_SEMANTICS => BYTE
NLS_NCHAR_CHARACTERSET => AL16UTF16
NLS_NCHAR_CONV_EXCP => FALSE
NLS_NUMERIC_CHARACTERS => .,
NLS_SORT => BINARY
NLS_TERRITORY => AMERICA
NLS_TIMESTAMP_FORMAT => DD-MON-RR HH.MI.SSXFF AM
NLS_TIMESTAMP_TZ_FORMAT => DD-MON-RR HH.MI.SSXFF AM TZR
NLS_TIME_FORMAT => HH.MI.SSXFF AM
NLS_TIME_TZ_FORMAT => HH.MI.SSXFF AM TZR
Do i need to issue a PERL command to change one of these NLS params?
I appreciate the help everyone, this issue is killing me! -
Download to Excel after Unicode Upgrade not working
Hi
Before the unicode upgrade we downloaded a spreadsheet, specifying the columns and table. Since the upgrade the spreasheet opens and start to create the columns, but as soon as it tries to write the table we get an error at teh following code.
class C_OI_CONTAINER_CONTROL_CREATOR method i_oi_spreadsheet~insert_one_table
Error as follows
\INTERFACE=I_OI_ERROR
I_OI_ERROR~ERROR_CODE CALL_NOT_FLUSHED
I_OI_ERROR~IS_FLUSHED
I_OI_ERROR~HAS_FAILED X
I_OI_ERROR~HAS_SUCCEEDED
ERROR_NR 999999-
ERROR_STRING 50
Does anyone know why this is occuring and what the solution please?
Thanks.Can you let us know your support package levels? Also you right click and then export it to Excel?
Something to do with packages and xcel levels as well. -
How to get the hex. value of unicode character
Hi all
I would like to get the hex. value of unicode and vice versa. I tried
String name1 = new String(request.getParameter("textfield").getBytes("ISO8859_1"), "UTF-8");
but it just get the unicode character, not the "hex value"
pls help
thx.
Regards,
KinString str = "asdf";
char c = str.charAt(0);
System.out.println(Integer.toString((int)c, 16));
Is that what you want? Or are you thinking "hex value" is something it's not, which is just a way of writing numbers in base-16. -
TOC link with a subscript character does not work in PDF
Hi,
has anyone come across with this? A heading has a subscript character and when you generate a PDF, the TOC page has no link. Other TOC heading links work out just fine, but all these that have subscript, these do not.
I have used Save As PDF and selected even create named destinations for all Paragraphs. Usually the TOC works fine even if that is not selected. A link with subscript does not work in either case.
I appreciate any help with this, thanks> The link is always terminated before any change in the character format. That's not a bug.
In user-authored manually-created hypertext links, sure. And in that case, we know that we have to re-apply the Marker to the various fragments of the desired text. I would not expect this behavior for a generated file where we have limited control over the auto-tagging.
> Therefore if you have subscript or superscript applied, the link starts at the beginning of the paragraph and ends before the character format change (sub-/superscript).
It's not just format changes in body <$paratext> that break this. If you so much as apply a different format to the elements on the TOC Reference Page TOC (such as making the page number a different font), that breaks the HT of the page number in the PDF.
> As far as I know Rick Quatro offers a FrameScript script for this problem.
Well, Adobe might consider this to be an Enhancement Request item, but I consider it to be a defect.
Is there anyone who would object if the TOC entries had functional full-string HT links by default? If so, Adobe could fix the problem, and have an Update tickbox to revert to legacy broken behavior.
In any case, the Unicode solution is not really a "work-around", even though I put it that way. For anything where Unicode has a glyph that you would otherwise implement as FrameRoman with a Character Format, use Unicode. -
Oracle & PHP/Apache not working togather for unicode (working individually)
hi, i have oracle xe zend core for oracle installed.
When i insert data through aplication express or oracle sql developer its perfect. Unicode can be inserted and viewed, but when I try to view same data through php script it display ??? signs only english character show properly.
Seems the unicode enviourment issue with php/apache and oracle communication, as php pages display uniode correctly when not taking data from oracle. I need help
I have gone through globlizing_oracle_php_applications.pdf and have enabled mbstring, also php charset is utf8 i also used 'AL32UTF8' in connection string.
Also if someone can provide a small sample php script to insert or view unicode data.
thanksroot the php module seems to be not working as the
displayed index.php was just text page. I tried with
apache2 as well but the result was the same.I don't believe the apache included with Solaris 10 includes PHP support; you will probably have to re-compile it . See the README file in /etc/apache for the actual config of the distributed version. -
Alert Rule - not working. Wild Card character issue
Hi All,
I have a requirement where I need to trigger alerts for mapping failures
of all the interfaces whose namespace is urn:abc.com:odna* or urn:abc.com.odna*. (in the first instance, there is dot before odna and int he second instance, a colon before odna )
So to suit both the cases, I gave urn:abc.comodna in the Alert Rule.
It worked before. But now its not working.
Then when i changed it to urn:abc.com:odna* it works again. i really dont understand how it worked before and why it fails now.
What is the reason for the unpredicatable behaviour of WildCard Character based Alert Rules?
Should Wild Card Characters be avoided completely?Hey
Just create two separate alert rules for the same alert category
one for urn:abc.com:odna* and another for urn:abc.com.odna*.
but before that please make sure that "Suppress multiple alerts of this rule" box is unchecked.
Also please check SAP Note 913858
Thanx
Aamir
Edited by: Aamir Suhail on May 20, 2009 9:16 AM -
Arial Unicode MS Fonts not working in Report (PDF)?
any body can help me plz. Forms 11g
Uifont.ali
[PDF:Subset]
"Arial Unicode MS" = "ARIALUNI.TTF"
this option is not work in pdf file what can i do???
In PDF File (garbage data show)
Acrobat 9-->File--> Properties ---> Font --> Actual Font= ArialMT
In Spread Sheet work fine (ok)
In Htmlcss (ok)Hi Junaid,
Please try these steps
In report builder change fonts of text fields to Arial Unicode MS
1. Copy ARIALUNI.TTF from c:\windows\fonts to c:\Oracle\Middleware\as_1\reports\printers
This path sould be set in REPORTS_PATH in registry
eg.
REPORTS_PATH =
C:\Oracle\Middleware\as_1\reports\templates;C:\Oracle\Middleware\as_1\reports\samples\demo;C:\Oracle\Middleware\as_1\reports\printers;C:\WINDOWS\Fonts
2. set NLS_LANG = AMERICAN_AMERICA.AL32UTF8 in registry
3. Modify uifont.ali (available in C:\Oracle\Middleware\asinst_1\config\FRComponent\frcommon\tools\COMMON)
[ PDF:Subset ]
"Arial Unicode MS"..... = "ARIALUNI.TTF"
Copy this modified file in C:\Oracle\Middleware\as_1\tools\common
4. Restart weblogic server.
-Tushar -
Unicode support in my terminals is not working anymore
After turning on my computer today, the unicode characters for my terminals are not working. Other applications like gvim and awesome, firefox, etc. still display the unicode chars correctly.
Awesome tag names (unicode working):
uxterm (unicode working):
xterm(unicode broken):
rxvt-unicode (unicode broken), my terminal of choice:
Here is my .Xresources. I have uncommented the font setup for xterm and urxvt for testing:
! terminal settings ----------------------------------------------------------
XTerm*metaSendsEscape: true
XTerm*eightBitInput: false
!XTerm*faceName: Bitstream Vera Sans Mono:pixelsize=11
URxvt.depth : 32
URxvt.saveLines : 10000
URxvt*inheritPixmap : true
URxvt.scrollBar : false
URxvt.shading : 10
URxvt.tintColor : white
URxvt.cursorColor : #99a9cf
*background : #151515
*foreground : #d0d0d0
!URxvt.imLocale : en_EN.UTF-8
!URxvt.multichar_encoding : utf-8
URxvt*loginShell : true
URxvt.secondaryScroll : true
!URxvt.font : xft:Bitstream Vera Sans Mono:pixelsize=11
!URxvt.font : xft:Liberation Mono:size=8
*SimpleMenu*menuLabel.vertSpace: 1
*charClass: 33:48,35:48,37-38:48,43-47:48,58:48,61:48,63-64:48,95:48,126:48
If any one could help my in tracking down this issue?
Last edited by jpk (2012-04-01 09:11:25)Okay, I think, I have found the problem. my $LANG is not set to "en_US.utf-8". It is configured in my /etc/rc.conf, but after login into the WM, the $LOCALE setting is not loaded. For now I could fix the problem by adding
export LANG="en_US.utf-8"
to my ~/.xinitrc. I would count that as half-solved. Any suggestion why the environmental variable is not set? -
Why this character \ it is not working in action scrip?
Hi...
Why this character \ it is not working in action scrip? And
how can I solve it?
on (release) {
text.text = text.text + "l"
Please your help ASAP
thank youyea, that's true, but I don't think that is the problem.. I
use it every once in a while, and it doesn't break the script.
"I’m trying to make bush button if i press it, the
action script it well write the text in text area and I’m
using Flash MX 2004"
This statement makes
zero sense.. please clean it up and make it understandable,
and tell what version of Actionscript you are publishing to. -
SWN_CREATE_SHORTCUT not working for Unicoded system
The FM "SWN_CREATE_SHORTCUT" is working fine for a non-unicoded system. While for an unicoded system the shortcut created is not working. Is there any parameter i need to set for an unicoded system or do we have to use another FM for it..?
*"Create shortcut for transaction ZMSABSR02_NEW.
CALL FUNCTION 'SWN_CREATE_SHORTCUT'
EXPORTING
I_TRANSACTION = c_tran
I_SYSID = SY-SYSID
I_CLIENT = SY-MANDT
I_USER = SY-UNAME
I_LANGUAGE = SY-LANGU
I_WINDOWSIZE = c_window
I_TITLE = c_title2
IMPORTING
SHORTCUT_STRING = w_string
EXCEPTIONS
INCONSISTENT_PARAMETERS = 1
OTHERS = 2.Hello,
I had the same problem today.
I'm in a unicode system, the "SO_NEW_DOCUMENT_ATT_SEND_API1" FM creates a unicode shortcut that doesn't work fine.
Solution : Add the following lines to your code:
DATA: wlt_object_header TYPE TABLE OF solisti1,
wls_object_header TYPE solisti1.
REFRESH wlt_object_header.
CLEAR wls_object_header.
wls_object_header = '&SO_FORMAT=ASC'.
APPEND wls_object_header TO wlt_object_header.
And add the internal table wlt_object_header to the TABLES parameters object_header of the "SO_NEW_DOCUMENT_ATT_SEND_API1" FM call :
TABLES
object_header = wlt_object_header
Now, the shortcut is non-unicode and works fine.
For information, my saplogin.ini gives : "DEFAULT_NON_UNICODE".
Best regards,
-Olivier-
Maybe you are looking for
-
Calling another function if upate statement fails
Hi there, I have written an update procedure and insert procedure. Is there a way of calling another function if the update statement fails? Thanks a lot for your help. Chris procedure update_costing(in_period in DATE, in_project_id IN
-
So on Monday, I dropped my iPhone in the toliet after using the bathroom. I had never dropped any phones in water before so didn't know the steps to take afterwards. I kept the phone on and used it, shaking all the water out of the dock, til it shut
-
Macbook Pro not displaying 1080p on my monitor anymore after 10.8.4.
Hey, My Macbook Pro 8,2 15" early 2011 unibody does not display on my BENQ g2420hd screen anymore. I am using a thunderbolt to HDMI cable and it used to work fine. I have tried my macbook pro with the same lead through a different screen and that
-
1).Controls have shortcut menu,but the 3d graph's shortcut menu cannt be able. why? how to make it able? 2).3D graph can be rotated free by dragging, and when it is not running,right click ,select default view, the graph go back to initial view. But
-
Random static in mp3s played or recorded.
I get random moments of static when I am playing back from my mp3 collection and DLd mp3s from music store. The track will play fine for min or 2, then x-fade into static. Stop the track, play it again and it is fine, static goes away. Now this probl