How do I set the charset in robohelp?
I have to edit a Polish help file but Robohelp change the
charset of every topic I edit from
charset=windows-1250 to charset=windows-1252
Resulting in the Polish characters not being displayed
properly.
charset=windows-1250 is for Belarusian, Croatian, Czech,
Hungarian, Polish, Romanian, Serbian, Slovak, Slovenian
But I can't choose any of these languages in Project
settings.
How can I force Robohelp in keeping or using
charset=windows-1250?
I haven't tried with Japanese, but Roboholp will keep the
original charset of your htm files as long you don't open/edit
them.
First it's important you change you Regional options and
Language for non-unicode programs to japanese.
Then if I need to edit something, I will make my changes save
the project then change the charsert using notepad.
(If you edit a bunch of them you can use notepad++ to do a
find and replace in files)
Then reopen the project and compile it.
Don't edit the htm source in Robohelp what you see is not
necessarily what you get.
Similar Messages
-
How to set the charset encoding dynamically in JSP
Is there any way to set the charset encoding dynamically in a JSP
page?
we are using weblogic 6.1 on HP unix.
is there some way we can set the charset dynamically in the page directive
<%@ page contentType="text/html;charset=Shift_JIS" %>
and in MAET tag
<meta http-equiv="Content-Type" content="text/html" charset="Shift_JIS">
Saurabh AgarwalDear Saurabh,
I guess it is possible. Here is an example I have made some time ago :
In my html page :
<form name="form1" METHOD=POST Action=Lang ENCTYPE="application/x-www-form-urlencoded" >
<p>
<select name="code" size="1">
<option value="big5">Chinese</option>
<option value="ISO-2022-KR">Korean</option>
<option value="x-euc-jp">Japanese</option>
<option value="ISO-8859-1">Spanish</option>
<option value="ISO-8859-5">Russian</option>
<option value="ISO-8859-7">Greek</option>
<option value="ISO-8859-6">Arabic</option>
<option value="ISO-8859-9">French</option>
<option value="ISO-8559-1">German</option>
<option value="ISO-8859-4">Swedish</option>
<option value="ISO-8859-8">Hebrew</option>
<option value="ISO-8859-9">Turkish</option>
</select>
</p>
<p>
<textarea name="entree_text"></textarea>
<input type="submit" name="Submit" value="Submit" >
</p></form>
and in my jsp :
// Must set the content type first
res.setContentType("text/html");
code = req.getParameter("code");
example = req.getParameter("entree_text");
PrintWriter out = res.getWriter();
// The Servlet send to the Browser the informations to format the language type
out.println("<html><head><title>Hello World!</title><meta http-equiv=\"Content-Type\" content=\"text/html; charset="+code+"\"></head>");
// System recover the general Character encoding
String reqchar = req.getCharacterEncoding();
out.println("<body><h1>Hello MultiLingual World!</h1>");
out.println("You have defined an ISO of : "+code);
out.println("<BR>This is the code of the page that is displayed in this page<BR>");
out.println("<BR>");
out.println("<BR>");
out.println("Character encoding of the page is : "+reqchar);
out.println("<BR>This is the character code in the Servlet");
out.println("<BR>");
out.println("<BR>");
out.println("<BR>");
out.println("You have typed : "+example);
out.println("<BR>");
out.println("");
out.println("</body></html>");
I think starting from this example it is surely easy to modify dynamically the jsp.
The other possibility would be to use the Weblogic Commerce and the LOCALIZE function, so that you'll have an automatic redirection to the right jsp-encoding depending on the customer's language.
Feel free to reply on the forum for any related issue.
Best regards
Nohmenn BABAI
BEA EMEA Technical Support Engineer
"Saurabh" <[email protected]> a écrit dans le message de news: [email protected]...
Is there any way to set the charset encoding dynamically in a JSP
page?
we are using weblogic 6.1 on HP unix.
is there some way we can set the charset dynamically in the page directive
<%@ page contentType="text/html;charset=Shift_JIS" %>
and in MAET tag
<meta http-equiv="Content-Type" content="text/html" charset="Shift_JIS">
Saurabh Agarwal[att1.html] -
Setting the charset in dynamic invocation
I'm on WLS 8.1 SP1. The doc (http://e-docs.bea.com/wls/docs81/webserv/i18n.html)
shows how to set the charset attribute of the Content-Type HTTP header via the
client stub. But I am not using client stubs, I'm using dynamic invocation. So
how do I accomplish the equivalent? I don't see an obvious javax.xml.rpc.Call
property field for this.
TIA...
MarkThe trouble with this example is that it doesn't use JAX-RPC dynamic invocation.
The attachment contains an example of what I am trying to do. The method of interest
is case3(), in which. on lines 294-296, is an (unsuccessful) attempt to set the
character set. The other methods of interest here are getEMAExceptionServices()
(which creates the javax.xml.rpc.Service object) and getUpdateExceptionResolutionStatusCall(Service
iService) (which creates the javax.xml.rpc.Call object).
[OK, this time I attached something.]
-- Mark --
Bruce Stephens <[email protected]> wrote:
Hi Mark,
Take a quick look at Manoj's Mega example [1] and see if this clears
things up. If not, post your code and we can take a look, or speak to
our outstanding support team: http://support.bea.com or [email protected]
Thanks,
Bruce
[1]
http://manojc.com/tutorial/mega/client/BindingProperties.java
Mark Shaffer wrote:
Bruce,
If I try to get the "weblogic.webservice.bindinginfo" property froma Call object,
this exception is thrown:
javax.xml.rpc.JAXRPCException: unknown property: weblogic.webservice.bindinginfo
at weblogic.webservice.core.rpc.CallImpl.getProperty(CallImpl.java:322)
-- Mark --
Bruce Stephens <[email protected]> wrote:
Hi Mark,
Did you try the code in the doc?
import weblogic.webservice.binding.BindingInfo;
BindingInfo info =
(BindingInfo)stub._getProperty("weblogic.webservice.bindinginfo" );
// The following method sets the Content-Type HTTP header
info.setCharset( "UTF-8" );
port.helloWorld();
Thanks,
Bruce
Mark Shaffer wrote:
Bruce,
OK, but the disconnect here is that I don't have a BindingInfo object,nor do
I know how to obtain one. All I have is javax.xml.rpc.* objects.
-- Mark --
Bruce Stephens <[email protected]> wrote:
Hi Mark,
Your client application can specify the character set that it would
prefer the Web Service to use in its response by using the
weblogic.webservice.binding.BindingInfo.setAcceptCharset() method.
See: http://e-docs.bea.com/wls/docs81/webserv/i18n.html#1069629
There is example code there as well.
Hope this helps,
Bruce
Mark Shaffer wrote:
I'm on WLS 8.1 SP1. The doc (http://e-docs.bea.com/wls/docs81/webserv/i18n.html)
shows how to set the charset attribute of the Content-Type HTTP
header
via the
client stub. But I am not using client stubs, I'm using dynamic
invocation.
So
how do I accomplish the equivalent? I don't see an obvious javax.xml.rpc.Call
property field for this.
TIA...
Mark
[UTEMAExceptionServices.java] -
How can i change the charset?????
hello
now i have the following
Message msg =
new MimeMessage(Session.getDefaultInstance(props, null));
how can i set the character set to be 'windows-1256'
pleaze help if u can
thanks very much
Belalthe data is not scrambled in the database,I'm sure
it's correct and when I tried to write my code as a
Servlet and change the charset to (windows-1256), the
arabic data appear very well and correct Excellent.
but as I said before I don't want my code in Servlet,
just a java class so I need a code that change the
Charset from (windows-1252) to (windows-1256), please
every one?
Swing?
Second Thing:
when I wrote my code as a Servlet and change the
charset to (windows-1256) and the arabic data appear
very well as I told you before, I tried to store
these data in a PDF file but the arabic data does
not appear at all, only the english data appears very
well and correct, so what's the problem here ?
Does Adobe support the font you use? You may have to save it as an image and capture that to PDF. -
How do I set the thumbnail image of my videos that export to my computer? I'm using Premiere Elements 11 on a windows 8.1 PC 64bit.
Or how does Premiere 11 determine where to set the image for the video it is exporting?
I already know how to use Freeze frame and save the image to my computer by Publish+Share/Computer/ Immage.
Thanks,
MikeMike
This is not Adobe. Rather user to user. We are all visitors here.
Just a bit of history....back in the days of Premiere Elements 4, you could set a "poster frame" in what was called the Project area. You did this by right clicking a blank area there and, from the drop down menu that appeared, selecting View/Preview Area, and using the poster frame feature there.
As I said, when a video imports into Premiere Elements, the thumbnail of the import has been presenting as the first frame of the video. With this Preview area "poster frame" option, you could set the video's thumbnail in the Project area so that the first frame was another frame in the video. But, this "perk" was restricted to thumbnails of the video in Project area.
If you exported to file with the first frame modified video, the export's thumbnail in Windows Explorer would present with other than the real first frame or the poster frame as the first frame.
Also, in more recent versions, I have observed that the export to file does not display the real first frame of the video in Windows Explorer. Seems random, but I have not kept track.
And, remember, at the onset I wrote
As far as I have ever seen, Premiere Elements Windows uses the first frame of the video for its thumbnail in the program.
I know of no way within Premiere Elements to control what the program opts to do in this matter. In some compatibility
issues, it opts to give no image but a generic one.
I did not say that you can expect to have the Premiere Elements' export file's thumbnail in Windows displaying with its real first frame. And, the more you get into this, depending on the versions, more details need to be added to my comment about "...first frame of video for its thumbnail in the program..."
I would have to look into all this further to get perspective on the contributing factors.
ATR
Add On...The Poster Frame feature appeared in versions 4, 7, 8, and 9 by my count. -
How do you set the time period on IMAP email accounts (razr maxx)
Hi Guys -
Does anyone know how you can set the time period that the stock email will keep the already downloaded messages for IMAP email accounts?
Mine never seems to show more than a couple of days worth at a time. I'd ideally like to be able to see at least 2 weeks worth of messages without needing to download them again!
On other phones I've had there was a setting in the menu, but either I can't find it...or it's not there. I've found the setting for how OFTEN it checks the accounts, but not the setting I am seeking.
Your help is appreciated!
Best Wishes for the Holiday Season.
-RichHey Rich. Once in 'settings,' there should be a "days to sync' under the 'data usage' section. You don't have that?
-
How i can set the selected item of a dropDown component from java code
Hi
Thank you for reading my post
How i can set the slected item of a DropDown component from backing beans java code ?
it is binded with a database , so one field determine its display and one other field determine its value , I want to set the selected item of this combobox
In back code i have both value and display values to use them .
can some one give me some help ?
Thanks ,See code sample 3 at http://developers.sun.com/prodtech/javatools/jscreator/learning/tutorials/2/helloweb.html
See also, the selection components row in the table under http://developers.sun.com/prodtech/javatools/jscreator/learning/tutorials/2/helloweb.html
It says
One way to preselect items is to call setSelectedValue(Object[]) or setSelectedValue(Object) from the prerender() method. You pass in the return values of the items that you want preselected. Be sure to verify that getSelected() returns null before setting the default options, or you will overwrite the user's selections on a post-back. -
How can i set the alternating colors for a table rows
Dear All,
Please any one help me how can i set the Alternating colors for Table Rows.
i created a theam there i set the background alternating color to brown and i set the table design properity to alternating. but it is not reflecting.Hi,
The design property in Table properties should work for your requirement. Select "alternating" value for design.
Please see the API below:
design
Determines the appearance of the table. The property design can take the following values and is represented by enumeration type WDTableDesign.
alternating - The table rows are displayed alternately in a different color.
standard - The table background has one color. The individual table rows are displayed with grid net lines.
transparent - The table background is transparent. The individual table rows are displayed without grid net lines.
Check whether you have changed the right property or not? Also table should contain more than one rows to test this scenario.
Regards,
Jaya.
Edited by: VJR on Jun 17, 2009 6:43 PM -
How can I set the page that will open, when I open a new tab, to be the same as the homepage?
An app changed it to some other search engine, before installing the app, I the tab that would open was the homepage I set.
In my case it is Google, and I want my new tabs to open on Google like they did before the installation.
thank you,
Asaf Privman.You can middle-click or Ctrl left-click the Home button on the Navigation toolbar to open the Home page in a new tab.
You can look at one of these extensions:
* NewTabURL : https://addons.mozilla.org/firefox/addon/newtaburl/
* New Tab Homepage : https://addons.mozilla.org/firefox/addon/new-tab-homepage/ -
How do I set the audience when I'm using Siri on my iPhone 5 to post to Facebook
How do I set the audience privacy for when I’m using Siri on my iPhone 5 to post to Facebook?
When I ask Siri to post a message to my Facebook Siri tells me what I have said and then asks tot post it, I then checked on my computer and the post is visible to "ME ONLY" I can change this on the computer and on my phone via the App but I do not want to be doing that all the time.
If I post to Facebook via Siri on my iPhone 5 I want it at the default setting of friends only.
So How do I change this?
I posted the first one 2 minutes ago then went into Facebook via the App and changed it but did a second one hoping that the default privacy had changed but it was again to me only. As you can see via the padlock. Please help. ThanksWhat if you do need help or emergency situation while Posting FB via Siri is the fastest way to show you or someone is in danger, and he/she is dying because the post is Only visible to Me !?!?!?!???
Anyone who uses FaceBook to get immediate help for life threatening emergency is mercifully removing themselves from the gene pool. -
How do I set the "reply to" field in the iPad 2 Mail app? I use an email forwarding service (not an actual email account) that I would like people to reply to, so setting up an account with the correct reply-to address doesn't work because there's no associated outgoing mail server. I had this working under iOS4 but it seems to have disappeared when I upgraded to iOS5.
Welcome to the forum, NicoleYM. I don't think the Touch Mail has as many options as the Mac Mail app. However, you could set a standard signature. Go to Settings > Mail, Contacts, Calendars > Signature. There you can type a reply address and hope people see it.
Alternatively, you can go to your GMail account in your web browser and click on Settings > Forwarding and POP/IMAP. There you will have an option to forward all emails (or only some, if you set up a filter) to your other address.
Good luck! -
How do I set the iPhone 4s to answer in 5 rings?
How do I set the iPhone 4s to answer in 5 rings?
You would have to contact your carrier about the time before voicemail.
-
How do I set the imac to go to sleep after 5 min of in activity?
how do I set the imac to go to sleep after 5 min of in activity?
Hi.
Try do the following: Go to "Settings" > "Energi" (or what it's called in the english settings). From here you can adjust your settings.
Hope this was helpful. -
How do i set the proxy user in FF 3.6.13.
previous versions had an entry for proxy user.
its gone now.
using IE with entries in user account pwds works while FF doesn't.
too bad have to change back to IE :-(You can find the connection settings in Tools > Options > Advanced : Network : Connection
See "Firefox connection settings":
*[[Firefox cannot load websites but other programs can]] -
I am Making a program for purchasing games, with the basic layout alsot done, except on problem. When the purchase button is pressed, a dialog shows up but nothing is seen until i resize it. How would i set the frame size so that i do not need to resize it each time? below is the code for the files. Many thanks in advance.
CreditDialog
import java.awt.*;
import java.awt.event.*;
class CreditDialog extends Dialog implements ActionListener { // Begin Class
private Label creditLabel = new Label("Message space here",Label.RIGHT);
private String creditMessage;
private TextField remove = new TextField(20);
private Button okButton = new Button("OK");
public CreditDialog(Frame frameIn, String message) { // Begin Public
super(frameIn); // call the constructor of dialog
creditLabel.setText(message);
add("North",creditLabel);
add("Center",remove);
add("South",okButton);
okButton.addActionListener(this);
setLocation(150,150); // set the location of the dialog box
setVisible(true); // make the dialog box visible
} // End Public
public void actionPerformed(ActionEvent e) { // Begin actionPerformed
// dispose(); // close dialog box
} // End actionPerformed
} // End Class
MobileGame
import java.awt.*;
import java.awt.event.*;
class MobileGame extends Panel implements ActionListener { // Begin Class
The Buttons, Labels, TextFields, TextArea
and Panels will be created first.
private int noOfGames;
// private GameList list;
private Panel topPanel = new Panel();
private Panel middlePanel = new Panel();
private Panel bottomPanel = new Panel();
private Label saleLabel = new Label ("Java Games For Sale",Label.RIGHT);
private TextArea saleArea = new TextArea(7, 25);
private Button addButton = new Button("Add to Basket");
private TextField add = new TextField(3);
private Label currentLabel = new Label ("Java Games For Sale",Label.RIGHT);
private TextArea currentArea = new TextArea(3, 25);
private Button removeButton = new Button("Remove from Basket");
private TextField remove = new TextField(3);
private Button purchaseButton = new Button("Purchase");
private ObjectList gameList = new ObjectList(20);
Frame parentFrame; //needed to associate with dialog
All the above will be added to the interface
so that they are visible to the user.
public MobileGame (Frame frameIn) { // Begin Constructor
parentFrame = frameIn;
topPanel.add(saleLabel);
topPanel.add(saleArea);
topPanel.add(addButton);
topPanel.add(add);
middlePanel.add(currentLabel);
middlePanel.add(currentArea);
bottomPanel.add(removeButton);
bottomPanel.add(remove);
bottomPanel.add(purchaseButton);
this.add("North", topPanel);
this.add("Center", middlePanel);
this.add("South", bottomPanel);
addButton.addActionListener(this);
removeButton.addActionListener(this);
purchaseButton.addActionListener(this);
The following line of code below is
needed inorder for the games to be
loaded into the SaleArea
} // End Constructor
All the operations which will be performed are
going to be written below. This includes the
Add, Remove and Purchase.
public void actionPerformed (ActionEvent e) { // Begin actionPerformed
If the Add to Basket Button is pressed, a
suitable message will appear to say if the game
was successfully added or not. If not, an
ErrorDialog box will appear stateing the error.
if(e.getSource() == addButton) { // Begin Add to Basket
// GameFileHandler.readRecords(list);
try { // Begin Try
String gameEntered = add.getText();
if (gameEntered.length() == 0 ) {
new ErrorDialog (parentFrame,"Feild Blank");
} else if (Integer.parseInt(gameEntered)< 0
|| Integer.parseInt(gameEntered)>noOfGames) { // Begin Else If
new ErrorDialog (parentFrame,"Invalid Game Number");
} else { // Begin Else If
//ADD GAME
} // End Else
} catch (NumberFormatException num) { // Begin Catch
new ErrorDialog(parentFrame,"Please enter an Integer only");
} // End Catch
} // End Add to Basket
If the Remove From Basket Button is pressed, a
a suitable message will appear to say if the
removal was successful or not. If not, an
ErrorDialog box will appear stateing the error.
if(e.getSource() == removeButton) { // Begin Remove from Basket
try { // Begin Try
String gameEntered = remove.getText();
if (gameEntered.length() == 0 ) {
new ErrorDialog (parentFrame,"Feild Blank");
} else if (Integer.parseInt(gameEntered)< 1
|| Integer.parseInt(gameEntered)>noOfGames) { // Begin Else If
new ErrorDialog (parentFrame,"Invalid Game Number");
} else { // Begin Else If
//ADD GAME CODE
} // End Else
} catch (NumberFormatException num) { // Begin Catch
new ErrorDialog(parentFrame,"Please enter an Integer only");
} // End Catch
} // End Remove from Basket
If the purchase button is pressed, the
following is executed. NOTE: nothing is done
when the ok button is pressed, the window
just closes.
if(e.getSource() == purchaseButton) { // Begin Purchase
String gameEntered = currentArea.getText();
if (gameEntered.length() == 0 ) {
new ErrorDialog (parentFrame,"Nothing to Purchase");
} else { // Begin Else If
new CreditDialog(parentFrame,"Cost � 00.00. Please enter Credit Card Number");
} // End Else
} // End Purchase
} // End actionPerformed
} // End Class
RunMobileGame
import java.awt.*;
public class RunMobileGame { // Begin Class
public static void main (String[] args) { // Begin Main
EasyFrame frame = new EasyFrame();
frame.setTitle("Game Purchase for 3G Mobile Phone");
MobileGame purchase = new MobileGame(frame); //need frame for dialog
frame.setSize(500,300); // sets frame size
frame.setBackground(Color.lightGray); // sets frame colour
frame.add(purchase); // adds frame
frame.setVisible(true); // makes the frame visible
} // End Main
} // End Class
EasyFrame
import java.awt.*;
import java.awt.event.*;
public class EasyFrame extends Frame implements WindowListener {
public EasyFrame()
addWindowListener(this);
public EasyFrame(String msg)
super(msg);
addWindowListener(this);
public void windowClosing(WindowEvent e)
dispose();
public void windowDeactivated(WindowEvent e)
public void windowActivated(WindowEvent e)
public void windowDeiconified(WindowEvent e)
public void windowIconified(WindowEvent e)
public void windowClosed(WindowEvent e)
System.exit(0);
public void windowOpened(WindowEvent e)
} // end EasyFrame class
ObjectList
class ObjectList
private Object[] object ;
private int total ;
public ObjectList(int sizeIn)
object = new Object[sizeIn];
total = 0;
public boolean add(Object objectIn)
if(!isFull())
object[total] = objectIn;
total++;
return true;
else
return false;
public boolean isEmpty()
if(total==0)
return true;
else
return false;
public boolean isFull()
if(total==object.length)
return true;
else
return false;
public Object getObject(int i)
return object[i-1];
public int getTotal()
return total;
public boolean remove(int numberIn)
// check that a valid index has been supplied
if(numberIn >= 1 && numberIn <= total)
{ // overwrite object by shifting following objects along
for(int i = numberIn-1; i <= total-2; i++)
object[i] = object[i+1];
total--; // Decrement total number of objects
return true;
else // remove was unsuccessful
return false;
ErrorDialog
import java.awt.*;
import java.awt.event.*;
class ErrorDialog extends Dialog implements ActionListener {
private Label errorLabel = new Label("Message space here",Label.CENTER);
private String errorMessage;
private Button okButton = new Button("OK");
public ErrorDialog(Frame frameIn, String message) {
/* call the constructor of Dialog with the associated
frame as a parameter */
super(frameIn);
// add the components to the Dialog
errorLabel.setText(message);
add("North",errorLabel);
add("South",okButton);
// add the ActionListener
okButton.addActionListener(this);
/* set the location of the dialogue window, relative to the top
left-hand corner of the frame */
setLocation(100,100);
// use the pack method to automatically size the dialogue window
pack();
// make the dialogue visible
setVisible(true);
/* the actionPerformed method determines what happens
when the okButton is pressed */
public void actionPerformed(ActionEvent e) {
dispose(); // no other possible action!
} // end class
I Know there are alot of files. Any help will be much appreciated. Once again, Many thanks in advancesetSize (600, 200);orpack ();Kind regards,
Levi
PS:
int i;
parses to
int i;
, but
[code] int i;[code[i]]
parses to
int i;
Maybe you are looking for
-
I open firefox. I go to www.msn.com. I open my hotmail. I click on any email that has an attachment. I click on "download" for the attachment. Nothing happens. No matter how many times I click on "download". However, I can open IE, go to MSN and then
-
Dear All I am getting this error while executing a function . I checked in the dB The table DES_OUT_WR_CR is already exist . What could be the error ? LINE/COL ERROR 0/0 PL/SQL: Compilation unit analysis terminated 2/17 PLS-00201: identifier 'DES_OUT
-
CONFIGURATION PROBLEM IN SALES ORDER
DEAR ALL, When we are creating the sales order we are getting the message in incompletion log that CONFIGURATION NOT POSSIBE FOR MATERIAL XYZ REASON 3---> HELP this above proble we are facing for normal FERT material . Please revert
-
Exit Code 7 during early installation process of Creative Suite 5.5 Design Premium
I'm unable to install this software. I'm getting the errors below. I'm running Win 7 Home Premium 64. Does anyone have an idea what I could do next. I tried Safe Mode installation with the same negative results Thanks. Exit Code: 7 -------
-
SAP J2EE Engine 620 in CRM 4.0SR1
Hi All, I am running,CRM 4.0 SR1 Ides system on Windows and SQL Seveer. I have SAP J2EE Engine with version 620. When I try logging onto Visual administrator,using go.bat. The status bar goes till 99%,and then nothing is happening.I think,it is getti