Problem to display at the shell a smile or other sign
My Problem is, I write with c++ a programm. I would like draw on display other sign. I get the sign ? for the sign smile.
I can not use the extended ascii tabelle on c++.
thank for answer.
With "shell", do you mean it's a Terminal program?
The Terminal can display "extended ASCII" extremely well (*) ( the proper term is "any Unicode string"), but it only accepts UTF8 encoded strings. So to display a smiley character (U+263A), you would send the string "\xE2\x98\xBA" to the screen.
(*) The Terminal is smart enough to find an appropriate font for just about any character code you want to display, it's not limited to just using the character repertoire of your default shell font.
Similar Messages
-
Problem while displaying all the table names from a MS Access Data Source.
I started preparing a small Database application. I want to display all the Table Names which are in the 'MS Access' Data Source.
I started to executing by "Select * from Tab" as if in SQL.
But i got an error saying that "Not able to resolve Symbol 'Tab' in the query".
Please let me know how can i display all the table Names in the MS Access Dats Source.Here i am developing the application in Swing using JDBC for accessing the database.
I want to display all the Table names from the data source in a ListBox for easy selection of tables to view their details. -
Problem with display of Buttons in ADF
Hi All,
I had a strange problem in display of the ADF Page in one of the server.I had two buttons inside ToolBars, The UI was coming fine in the two WLS, But when I deployed the application in third WLS, I was seeing that Buttons are coming in the top of screen,
Kindly let me know as to why Iam not to replicate the issue in my earlier WLS.Please find my code
<?xml version='1.0' encoding='UTF-8'?>
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
xmlns:f="http://java.sun.com/jsf/core">
<af:panelStretchLayout id="psl1">
<f:facet name="center">
<af:panelGroupLayout id="pgl1">
<af:panelBox text="Service Request#: #{bindings.srNumber.inputValue}" id="pb1">
<af:spacer width="10" height="10" id="s1"/>
<af:outputText value="Service Request#: #{bindings.srNumber.inputValue}"
id="ot18" inlineStyle="font-weight:bold;"
rendered="false"/>
<af:spacer width="15" height="10" id="s2"/>
<af:separator id="s3" rendered="false"/>
<af:panelFormLayout id="pfl1">
<af:inputText value="#{bindings.subject.inputValue}" label="Summary"
required="true" columns="100" maximumLength="100" id="it3" showRequired="true">
<f:validator binding="#{bindings.subject.validator}"/>
</af:inputText>
<af:inputText value="#{bindings.description.inputValue}"
label="Description" required="true" columns="100"
maximumLength="1999" id="it2"
rows="7" showRequired="true">
<f:validator binding="#{bindings.description.validator}"/>
</af:inputText>
</af:panelFormLayout>
<af:separator id="s4" rendered="false"/>
</af:panelBox>
<af:toolbar id="tb1">
<af:group id="g1">
<af:commandButton text="#{pageFlowScope.MySRBean.reopenSrBackButtonLabel}" id="cb2"
action="backtodetails" accessKey="G"
immediate="true" inlineStyle="border-style:outset; border-width:medium; outline-color:Gray;"/>
<af:commandButton text="#{pageFlowScope.MySRBean.reopenSrConfirmReopenButtonLabel}" id="cb3"
action="success"
actionListener="#{pageFlowScope.MySRBean.reOpenSR}"
accessKey="C" inlineStyle="border-style:outset; border-width:medium; outline-color:Gray;"/>
</af:group>
</af:toolbar>
</af:panelGroupLayout>
</f:facet>
</af:panelStretchLayout>
</jsp:root>
thanks
KrishnaveniUser, please always tell us your jdev version.
The interesting part is what you did not tell us.
Kindly let me know as to why Iam not to replicate the issue in my earlier WLS.Please find my code means hte code has once run OK and now after you did some changes doesn't any longer. Querstion: what did you change, not oly to the code but to the environment.
Timo -
Problem In Displaying Smartform Text Field In Qual & Prd Server
Hi All,
I am working on a smartform in which i am checking the field which is displaying fine in quality server but when it is transported to PRD server it is displaying text field in the smartform having ms word document which is giving me problem in displaying in the PRD Server.
Please provide me guideline for it..Hi Sarvan,
Post the code in code format.Check on the right side for example.
Sy-subrc = 0
Regards,
Madhu. -
PLEASE HELP ME OUT;(
even though this is not for flash, use the solutions - Error 213:19 | Problem has occurred with the licensing of this product
-
Action not displaying in the Action menu.
Hi All,
I have configure one action demotion & added it the Action menu.All the configuration I have done is in similar line with the existing action types.But this action is not displaying the action menu.Can anybody help me to resolve the issue.
Thanks,
SnitaMy user group is 60
I have configured like this-
User group dependency on menus-
Menu Text User-dep. Reaction ref.
17 Demotion blank 00
For infogroup
User group Infogroup modfi.. N operation Infotype
00 Blank 01 COP 0001
00 Blank 01 COP 0008
00 Blank 01 COP 0014
00 Blank 01 COP 0015
A.Ty N.Action F Cus. E Sp.C Check P P..E E.. IG U U
17 Demotion 0 3 Check box for All the 4 17 2Check box for U U
Then I have include this action in action menu.
But it is still not displaying in the action menu.
Snita -
I have a £15 Everything Pack but the phone is asking me to sign in to EE
Hi,I've recently transfered to EE and bought a recurring £15 Everything Pack.I've had the confirmation text to say that my transfer from my old network is complete, but I have a message displaying on the phone that I need to "Sign in to network"If I open the message it shows that I have a £0.00 top up balance, which is understandable, but do I need to top up AS WELL as buying the Everything Pack (which includes minutes, data and texts)? That doesn't sound right.I'm expecting to have 4G connections (it was showing 4G before my old number transfered, now it just shows H)Any input gratefully received!Thanks!
Hi ,
Welcome to the Community.
You do not need to top up again to use your everything pack. If you top up again before it runs out then a new pack will be added automatically when the current pack ends.
Click here for further details.
Thanks
James -
When I try to use FT on my MBP, connected to a 24" display, and close the shell, the display camera says it is not turned on. With the MBP open, FT works fine. I have looked and looked for a solution. Can someone help? Thanks
Hello BassoonPlayer,
Since you are using one of the the school's Macbooks, it is quite possible that the time and date are not properly set on the computer that you are using. FaceTime will not work if you do not have the proper time zone set up for the location that you are in. This past week, there were a two other Macbook users I've helped by simply telling them to set the Date/Time properly. By the way, you described your problem very well, which makes it easier for us to help you. Hope this solves your problem -- if not, post back and I can suggest other remedies.
Wuz -
Problem in displaying the TaxRate columns .
Hi Experts,
I am having a problem in displaying the 'TaxRate', in this Query there are some different Taxrate's columns like- ' 'Basic Excise Duty BED@10 %', ' Education ces@2% ' , 'Secondary Education Cess @1%', etc. only 4 -5 tax's value should display at a time and rest of the TaxRate's columns whose value is NULL should not display.
So, I want to display only those TaxRate's columns whose value is not NULL and If there is no value for any taxrate's column in the data, then it should Display only 'Excempt' column.
This is my query...
SELECT DISTINCT OSTA.Code , ORPC.DocNum AS 'Debit Note No.', ORPC.CardName AS 'Name', ORPC.CardCode AS 'code', ORPC.NumAtCard AS 'Supplier Ref.' ,
RPC1.Dscription AS 'Description of Goods', ORPC.Address, RPC1.Quantity, RPC1.Price AS 'Rate', RPC1.LineTotal AS 'Amount', ORPC.DocDate,
(SELECT DISTINCT TaxRate
FROM RPC4
WHERE (staType = - 90) AND (StaCode = 'BED@10') AND (DocEntry = RPC1.DocEntry)) AS 'Basic Excise Duty BED@10 %',
(SELECT DISTINCT TaxRate
FROM RPC4 AS RPC4_8
WHERE (staType = - 60) AND (DocEntry = RPC1.DocEntry)) AS 'Education Cess @2%',
(SELECT DISTINCT TaxRate
FROM RPC4 AS RPC4_7
WHERE (staType = - 55) AND (DocEntry = RPC1.DocEntry)) AS 'Secondary Education Cess @1%',
(SELECT DISTINCT TaxRate
FROM RPC4 AS RPC4_6
WHERE (staType = 4) AND (StaCode = 'CST2') AND (DocEntry = RPC1.DocEntry)) AS 'Central Sales Tax(CST)',
(SELECT DISTINCT TaxRate
FROM RPC4 AS RPC4_5
WHERE (staType = 1) AND (StaCode = 'VAT4') AND (DocEntry = RPC1.DocEntry)) AS 'Input VAT@5%',
(SELECT DISTINCT TaxRate
FROM RPC4 AS RPC4_4
WHERE (staType = 1) AND (TaxRate = 12.500000) AND (StaCode = 'VAT12.5') AND (DocEntry = RPC1.DocEntry)) AS 'VAT12.5%',
(SELECT DISTINCT TaxRate
FROM RPC4 AS RPC4_3
WHERE (staType = 18) AND (StaCode = 'Add2') AND (DocEntry = RPC1.DocEntry)) AS 'ADD Tax 1%',
(SELECT DISTINCT TaxRate
FROM RPC4 AS RPC4_2
WHERE (staType = 7) AND (DocEntry = RPC1.DocEntry)) AS 'Excempt'
FROM OSTA INNER JOIN
RPC4 AS RPC4_1 ON OSTA.Code = RPC4_1.StaCode CROSS JOIN
ORPC INNER JOIN
RPC1 ON ORPC.DocEntry = RPC1.DocEntry
WHERE (OSTA.Code IN ('BED@10','eCess 2%','HeCess 1%','CST')) AND (ORPC.CardCode = 'V00308') AND (ORPC.DocNum = '9220004')
Kindly help me to solve this problem
Regards
RahulHi rahul,
Try this:
SELECT DISTINCT T0.DocNum AS 'Debit Note No.', T0.CardName AS 'Name', T0.CardCode AS 'code', T0.NumAtCard AS 'Supplier Ref.'
,T1.Dscription AS 'Description of Goods', T0.Address, T1.Quantity, T1.Price AS 'Rate', T1.LineTotal AS 'Amount', T0.DocDate,
(SELECT DISTINCT ISNULL (SUM(RPC4.TaxRate),0)FROM RPC4 WHERE RPC4.StaType = -90 AND RPC4.DocEntry = T0.DocEntry) AS 'Basic Excise Duty BED@10 %',
(SELECT DISTINCT ISNULL (SUM(RPC4.TaxRate),0) FROM RPC4 WHERE RPC4.StaType = -60 AND RPC4.DocEntry = T0.DocEntry) AS 'Education Cess @2%',
(SELECT DISTINCT ISNULL (SUM(RPC4.TaxRate),0) FROM RPC4 WHERE RPC4.StaType = -55 AND RPC4.DocEntry = T0.DocEntry) AS 'Secondary Education Cess @1%',
(SELECT DISTINCT ISNULL (SUM(RPC4.TaxRate),0) FROM RPC4 WHERE RPC4.StaType = 4 AND RPC4.StaCode = 'CST2' AND RPC4.DocEntry = T0.DocEntry) AS 'Central Sales Tax(CST)',
(SELECT DISTINCT ISNULL (SUM(RPC4.TaxRate),0) FROM RPC4 WHERE RPC4.StaType = 1 AND RPC4.StaCode = 'VAT4'AND RPC4.DocEntry = T0.DocEntry) AS 'Input VAT@5%',
(SELECT DISTINCT ISNULL (SUM(RPC4.TaxRate),0) FROM RPC4 WHERE RPC4.StaType = 1 AND RPC4.StaCode = 'VAT12.5'AND RPC4.DocEntry = T0.DocEntry) AS 'VAT12.5%',
(SELECT DISTINCT ISNULL (SUM(RPC4.TaxRate),0) FROM RPC4 WHERE RPC4.StaType = 18 AND RPC4.StaCode = 'Add2'AND RPC4.DocEntry = T0.DocEntry) AS 'ADD Tax 1%',
(SELECT DISTINCT ISNULL (SUM(RPC4.TaxRate),0) FROM RPC4 WHERE RPC4.StaType = 7 AND RPC4.DocEntry = T0.DocEntry) AS 'Excempt'
FROM ORPC T0
INNER JOIN RPC1 T1 ON T0.DocEntry = T1.DocEntry
WHERE (T0.CardCode = 'V00308') AND (T0.DocNum = '9220004')
FOR BROWSE
Thanks,
Neetu -
I am using Firefox 3.6.8. Oddly, my problem appeared a few hours PRIOR to Firefox automatically installing the latest updates (the week ending 7/23), not afterwards. The problem is this: the browser continues to display tabs, the reload/home/history/favorites icons, URL field and Google search field while in full-screen mode, so it's not really full-screen anymore. How can I correct this?
== This happened ==
Every time Firefox opened
== Oddly, my problem appeared a few hours PRIOR to Firefox automatically installing the latest updates (the week ending 7/23), not afterwards.Do you have that problem when running in the Firefox SafeMode?
[http://support.mozilla.com/en-US/kb/Safe+Mode]
''Don't select anything right now, just use "Continue in SafeMode."''
If not, see this:
[http://support.mozilla.com/en-US/kb/troubleshooting+extensions+and+themes] -
Hello,
I purchased my imac intel 21" 3-4 weeks ago and in the 2nd week i faced an issue with the machine. When i switched on in, there was a fan noise and a white screen. The machine had hanged. I reported the problem and gave to the service centre. After testing for a week, they said that there is no problem with the imac. Again i faced the same problem after receiving it from the service centre. They again tested the machine for 3-4 days and reported as no problem with the machine. Couple of days back, I received the machine from the service centre, and on the same day when i switched it on, there are flickers in the display. Please help me solve the issue. I am from India. The service here is very bad.
Hope for a resolution
ThanksHello RedDevil07
Yes I agree with seventy one. It's common sense to do this, especially now. I would also contact AppleCare and report this issue with them, it will get documented and you will have a caseID that you can refer to when talking to them in the future should this issue go one.
Be polite with AppleCare and your AASP. Hopefully everyone is being honest and trying to help you and not what might appear to be the opposite.
Patience is a virtue, but I thoroughly understand your frustration.
Let us know how it goes, we are here to help in whatever way we can.
I encourage you to contact AppleCare to report this experience and get their recommendations. There is an expectation that you should have that AppleCare is there to help you as a customer. I am sure they will too! -
Iam gettin a problem in displaying the HTM file in filechooser please help
Dear Sir,
Iam working on swing in my project.In tha iam using file chooser Iam gettin problem in displaying the file of types HTM or HTML it taks if it is htm ot html . in filechooser below files of type will be there in that also its not displaying the files of types HTM or HTML. in the code i used
filter.addExtension("HTML",True);
but its not working please any body can help me in solving the problem . If possible send me the piece of code also il be very thankful to you. please ill be waiting for the reply.
regards,
suryathis is what I did: private void dateiNameHolen()
// create FileChooser
final JFileChooser pv_fileChooser = new JFileChooser();
pv_fileChooser.addChoosableFileFilter(new HTMLFileFilter());
pv_fileChooser.setSelectedFile(new File(iv_dateiTextField.getText()));
// open chooser and get selected file
if (pv_fileChooser.showOpenDialog(this) == JFileChooser.APPROVE_OPTION) {
File lv_datei = pv_fileChooser.getSelectedFile();
iv_dateiTextField.setText(lv_datei.getPath());
}It uses my class HTMLFileFilter:import java.io.File;
import javax.swing.*;
import javax.swing.filechooser.*;
public class HTMLFileFilter extends FileFilter {
// accept all htm and html
public boolean accept(File f)
if (f.isDirectory()) {
return true;
String dateiname = f.getPath().toLowerCase();
if (dateiname != null)
if (dateiname.endsWith("htm") || dateiname.endsWith("html"))
return true;
else
return false;
return false;
// description of this filter
public String getDescription() {
return "HTML-Dateien (*.htm, *.html)";
}hope this helps
koem -
Problem in displaying data in the smartform output.
Dear Freinds,
I have a requirement as per my requirement i have to display the employee dependents details in the smartform output.
I have taken a table in smartform and collected all teh employee dependents details . Each dependents his own details around 8 fields. so iam displaying in the smartform it is working till now no problem ........iam getting data as below
Dependentrelation | dependentname|passportno|expirydate|visano|visadate|visa expire date| ResidenceNo|Residence issuedate|
spouse | Raja |123456 |10/09/2009|122233|10/01/2009|10/01/2010 | 1001 |10/01/2009
These are the one of the dependentds details iam having till now , like this i have another dependts details. Now the problem i have
to add some fields to this list ( to this internal table) ...........if iam adding one more feild data is getting truncated as i dont have any more fields to add to right in the horizontal line........how can i solve this issue and how can i add further fields to this list
like date of birth of the dependents and gender
please could any one tell how i can solve this issue.
regards
divya.If this is a Tablethen only thing you can do is re-size the grid and font size to adjust your data. Like, displaying HEADINGS & DATAs in 2 rows instead of 1, etc.
Nothing else can be done. Otherwise you have to trim down the data to adjust in one page. -
Problem in displaying text inside the item label - JFREECHART
Hi All,
I dont know whether this is the right place or not to post the queries related to jfreechart here .
I am facing a problem in displaying the text inside the item label in jfreeChart. I am trying to print the text in 2 lines one below the other at the top of each bar in waterfall chart.
Please find the code below in next post. The problem i am facing is it is neglecting the new line character . If any one knows how to display the text one below the other please help me out .
Thanks in advance .
Regards,
Diwi am facing the problem in pasting the complete code as its exceeds the message text limitiation, please find the link below for the code .
http://www.java-forums.org/java-2d/12087-problem-displaying-text-inside-item-label-jfreechart.html#post36648
Early response will be appreciated . Thanks in advance
Regards,
Diw
Edited by: Diw on Sep 30, 2008 11:15 AM
Edited by: Diw on Sep 30, 2008 11:16 AM -
Problem in displaying selected page items in the title in Graph
Hi There;
I have a problem in displaying selected value of named page item in the graphs.
Eg. I have in my worksheet a page item named "Location"; when I use "&WorksheetName &Location" in the title of worksheet it is displaying both the worksheet title and value of selected page item "Location" in my example.
But when I use the same (&WorksheetName &Location) in the title of graph or Axis of the graph, it would show up only the name of the worksheet but not the value of page item "Location", instead it would print "&Location"
Any idea why it is not able to reference the select page item in Discoverer graph? I am using Oracle BI Discoverer 10.1.2.1.
Thanks in Advance,
Regards,
Nidhi JethooHi Michael;
Thanks a lot. It might not have been considered necessary but you do require, e.g in my case I am plotting Average value of a Parameter and it does make sense in including the name/value of Parameter(surface water temp/bottom watter temp) as an Axis instead of just a constant Parameter or say Average Parameter. So that user can plot the variation of different parameters by changing the page items and when user changes the value of parameter and export the graph he/she has the parameter name(actual value) in the graph.
But I can include all the parameters (&Parameters) or all the page items(using &PageItems) in graph then why not individual page-item and individual parameter.
I would log a SR and see what they say.
Thanks again,
Nidhi
Maybe you are looking for
-
HP LaserJet Pro 100 functioned printer M175nw cleaning every night
I have a HP LaserJet Pro 100 multifunctionele kleurenprinter M175nw. Runs fine in a wireless network. The printer is used some times but also a week not at all. After 15 min the printer goes into sleep mode and after two hours or so the device switc
-
Hey, I seem to have come across a problem with my site. While it looks great in both Safari and Firefox (Mac OS X and Windows XP), it has some problems when being viewed by Internet Explorer (I've only tried with IE 6, I don't know about 7). Can anyo
-
Hi, I have made one program. Inside this report I am using 'submit' which is used to call a program to display invoice list. when I executed this report in foreground it gives the output but when I run this report in background(using F9) it dose not
-
SVG Chart - Dynamic Where clause
Hi, I am trying to use SVG Chart to show some data as a line graph. It is working great when the SQL is static. I need to allow user to filter the data using a where clause on a date column. I looked at the sample application and found drill-down cha
-
Mail sending passwords clear text on Wifi?
Can I assume that the mail application passes passwords and user accounts in clear text. Meaning that if you're in a wifi hotspot with someone like BT Openzone that doesn't have WEP etc that your passwords are visible to someone with the right softwa