struts 1.x /mysql stored function ...input string..charset latin1

2007-05-20 Thread john lee
In my Struts Action class, I invoke mysql¡¯ stored function, but get following error: javax.servlet.ServletException: For input string: ¡°20) CHARSET latin1 READS SQL DATA ¡­ java.lang.NumberFormatException: For input string: ¡°20) CHARSET latin1 Source code

Re: UTF-8 charset issue

2007-05-04 Thread Laurie Harper
piloupy GOTTAPIL wrote: What I've done is stupid. I don't use the possibilities of the UTF-8 encoding by setting the charSet to "ISO-8859-15". It's been nearly 2 days that I'm on a detail according to my manager. I'm obliged to put the UTF-8 aside...

Re: UTF-8 charset issue

2007-05-04 Thread jalal udeen
hi all I have to use pagination in jsp so i did it with logic:iterate tag as follows but when i use 2 links next and previous but next link is not disspearinng when it reaces the last one can any help me for this the code follows <% String strOffset ="0"; if(request.getParameter("pa

Re: UTF-8 charset issue

2007-05-04 Thread piloupy GOTTAPIL
What I've done is stupid. I don't use the possibilities of the UTF-8 encoding by setting the charSet to "ISO-8859-15". It's been nearly 2 days that I'm on a detail according to my manager. I'm obliged to put the UTF-8 aside... To answer you : - The JSP direct

Re: UTF-8 charset issue

2007-05-03 Thread Allen Gilliland
ad section On 5/3/07, piloupy GOTTAPIL <[EMAIL PROTECTED]> wrote: Hi, I've accidentally found a solution. I must put the directive on the top of my pages : <%@ page contentType="text/html; charset=ISO-8859-15" %> because I've put previously : <%@ page con

Re: UTF-8 charset issue

2007-05-03 Thread Cristian Lucero
Hi, or good put this meta in head section On 5/3/07, piloupy GOTTAPIL <[EMAIL PROTECTED]> wrote: Hi, I've accidentally found a solution. I must put the directive on the top of my pages : <%@ page contentType="text/html; charset=ISO-8859-15" %> because I&#x

Re: UTF-8 charset issue

2007-05-03 Thread piloupy GOTTAPIL
Hi, I've accidentally found a solution. I must put the directive on the top of my pages : <%@ page contentType="text/html; charset=ISO-8859-15" %> because I've put previously : <%@ page contentType="text/html; charset=UTF-8" %> The result of m

UTF-8 charset issue

2007-05-03 Thread piloupy GOTTAPIL
ve made several tests to find where the problem is. In the Struts Action which handles the form, I've put this code : System.out.println("Default Charset : " + Charset.defaultCharset()); System.out.println(request.getParameter("name") + " : " + request.getParameter(

Re: response.setContentType("text/html; charset=utf-8")

2006-09-21 Thread Al Eridani
On 9/8/06, Raghuveer <[EMAIL PROTECTED]> wrote: From the source examples jakarta-struts-1.1-src\jakarta-struts-1.1-src\src\upload\org\apache\struts\w ebapp\upload What does the use of response.setContentType("text/html; charset=utf-8"); It tells the browser that what the bro

response.setContentType("text/html; charset=utf-8")

2006-09-08 Thread Raghuveer
>From the source examples jakarta-struts-1.1-src\jakarta-struts-1.1-src\src\upload\org\apache\struts\w ebapp\upload What does the use of response.setContentType("text/html; charset=utf-8"); --- /this line is here for when the input page i

RE: query about application resource and charset

2006-03-16 Thread Roy, Ansuman
yes... £ symbol -Original Message- From: Antonio Petrelli [mailto:[EMAIL PROTECTED] Sent: Thursday, March 16, 2006 2:49 PM To: Struts Users Mailing List Subject: Re: query about application resource and charset Roy, Ansuman ha scritto: > Thanks Antonio, > that solved the problem.

Re: query about application resource and charset

2006-03-16 Thread Antonio Petrelli
Roy, Ansuman ha scritto: Thanks Antonio, that solved the problem. I used java.util.Properties so now the special characters are not coming by the way, what if I try to put russian characters or use non ascii characters in my keys?? You'll find a lot of \u, not very readable ;-) What I c

RE: query about application resource and charset

2006-03-15 Thread Roy, Ansuman
Pound symbol regards, Roy -Original Message- From: Antonio Petrelli [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 15, 2006 6:17 PM To: Struts Users Mailing List Subject: Re: query about application resource and charset Roy, Ansuman ha scritto: > I parse through the xml and using i

Re: query about application resource and charset

2006-03-15 Thread Antonio Petrelli
Roy, Ansuman ha scritto: I parse through the xml and using io i write it into a .properties file I think instead of java io i should use java.util's property class is it?? Yes, java.util.Properties. ".properties" files must be ASCII 7-bit, the "Properties" class takes all the burden of encod

RE: query about application resource and charset

2006-03-15 Thread Roy, Ansuman
tonio Petrelli [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 15, 2006 5:33 PM To: Struts Users Mailing List Subject: Re: query about application resource and charset Roy, Ansuman ha scritto: > But the struts application uses bean tags every where so I have to generate > the property file >

Re: query about application resource and charset

2006-03-15 Thread Antonio Petrelli
Roy, Ansuman ha scritto: But the struts application uses bean tags every where so I have to generate the property file How do you generate this file then? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

RE: query about application resource and charset

2006-03-15 Thread Roy, Ansuman
- From: Antonio Petrelli [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 15, 2006 4:32 PM To: Struts Users Mailing List Subject: Re: query about application resource and charset Roy, Ansuman ha scritto: > Hi, > I have a content management system that generates the application > resources.prope

Re: query about application resource and charset

2006-03-15 Thread Antonio Petrelli
Roy, Ansuman ha scritto: Hi, I have a content management system that generates the application resources.properties file. Now the value of many keys are found to be of filled with  keys. File .properties MUST have escape codes for special characters (i.e. \u codes). This is the default beh

query about application resource and charset

2006-03-14 Thread Roy, Ansuman
are not displayed because both the jsp and the included html is utf encoded. But when I take keys from the the property file the ÂÂ values are apearing again. I have added the following line to the jsps: <%@ page language="java" pageEncoding="utf8" contentType="text/htm

[HELP] I couldn't trim() 1 japanese String (charset UTF-8)

2005-06-21 Thread Pham Anh Tuan
Matsuhashi, thank you very very much, my problem is solved :") - Original Message - From: <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Tuesday, June 21, 2005 7:02 PM Subject: Re: [HELP] I couldn't trim() 1 japanese String (charset UTF-8) Do

Re: [HELP] I couldn't trim() 1 japanese String (charset UTF-8)

2005-06-21 Thread Pham Anh Tuan
Matsuhashi, thank you very very much, my problem is solved :") - Original Message - From: <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Tuesday, June 21, 2005 7:02 PM Subject: Re: [HELP] I couldn't trim() 1 japanese String (charset UTF-8) Do

Re: [HELP] I couldn't trim() 1 japanese String (charset UTF-8)

2005-06-21 Thread matsuhashi
<[EMAIL PROTECTED] 宛先:"Struts Users Mailing List" rp.jp> cc: 件名:[HELP] I couldn't trim() 1 japanese String (charset UTF-8)

[HELP] I couldn't trim() 1 japanese String (charset UTF-8)

2005-06-21 Thread Pham Anh Tuan
Hi all, I got 1 problem when I trying to eliminate spaces at ride side and left side of 1 japanese String. In mySQL I set UTF-8 for both database and my Jsp pages. But in Action, I can't not trim() japanese string, so, when I insert that string to database, spaces are exist. Plz help me solve

Charset

2005-02-08 Thread Markos Charatzas
the charset? Thanks in advance. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

form accept-charset

2004-07-11 Thread Carl-Eric Menzel
Hi, is there any special reason why the html:form tag doesn't support the accept-charset attribute defined in HTML 4.01? I would very much like to use this to make my charset handling at least a little bit cleaner. Right now I'm sending all responses in UTF8, and am assuming that th