Re: Character encoding problems using jsp:include with jsp:param in Tomcat 8.5 only.

2018-11-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Thorsten, On 11/27/18 04:48, Thorsten Schöning wrote: > Guten Tag Christopher Schultz, am Montag, 26. November 2018 um > 16:07 schrieben Sie: > >> web.xml - --- >> UTF-8 >> > > Tested that with Tomcat 9 and this setting fixed my problem th

Re: Character encoding problems using jsp:include with jsp:param in Tomcat 8.5 only.

2018-11-27 Thread Thorsten Schöning
Guten Tag Christopher Schultz, am Montag, 26. November 2018 um 16:07 schrieben Sie: > web.xml > - --- > > UTF-8 > Tested that with Tomcat 9 and this setting fixed my problem the same as using SetCharacterEncodingFilter. It doesn't work in Tomcat 8.5, I guess because that simply doesn't im

Re: Character encoding problems using jsp:include with jsp:param in Tomcat 8.5 only.

2018-11-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Thorsten, On 11/26/18 08:45, Thorsten Schöning wrote: > Hi all, > > I'm currently testing migration of a legacy web app from Tomcat 7 > to 8 to 8.5 and ran into problems regarding character encoding in > 8.5 only. That app uses JSP pages and declar

Re: Character encoding issue in URL

2017-01-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Justin, On 1/25/17 12:25 AM, Justin Dang wrote: > Hi, I have a clean install of an older version of Tomcat (8.0.24). > I have noticed when a character is encoded in the URL, Tomcat fails > to return the URL requested. I've noted this same request >

Re: Character encoding issues

2016-08-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 James, On 8/24/16 3:46 PM, James H. H. Lampert wrote: > On 8/24/16, 12:36 PM, Mark Thomas wrote: > >> At a guess, something in the web application is using the >> platform default encoding rather than an explicit encoding. Given >> that the Linux b

Re: Character encoding issues

2016-08-24 Thread James H. H. Lampert
On 8/24/16, 12:36 PM, Mark Thomas wrote: At a guess, something in the web application is using the platform default encoding rather than an explicit encoding. Given that the Linux box is OK, it looks like the app should be explicitly using UTF-8 everywhere. Based on a response I got on the Mid

Re: Character encoding issues

2016-08-24 Thread Mark Thomas
On 24/08/2016 17:43, James H. H. Lampert wrote: > Ladies and Gentlemen of the Tomcat and Midrange-Java communities: > > We're having a weird problem with character encoding in a Tomcat webapp. > > We've added an interface to GMail to our webapp, and we've got, just for > our own development, test

Re: Character encoding question

2010-08-29 Thread Dave Cherkassky
The Microsoft characters are encoded in CP-1252 (http://en.wikipedia.org/wiki/Windows-1252). However, if the problem is the database-driven content, then you also need to consider the encoding that the dB is using. For example, MySQL might by default use latin1 (ISO-8859-1), so your data migh

Re: Character encoding question

2010-08-27 Thread Pid
On 27/08/2010 18:23, laredotornado wrote: > > Hi, > > I'm using Tomcat 6.0.26. I'm noticing that when our JSPs pages are served, > we frequently have "?"s where apostrophes should be. We think this is > because the database-driven content contains the Microsoft style apostrophe. [wince] > M

Re: Character encoding for POST x-www-form-urlencoding (a success story)

2010-02-12 Thread Xie Xiaodong
Very nice work, Thank you for the sharing. On Fri, Feb 12, 2010 at 11:23 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > All, > > My company recently decided to alter our password complexity > requirements for our webapp, and

Re: Character encoding

2008-06-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 nch, nch wrote: | Chris, I finally found it. | My server.xml was not correctly configured. My fault. | | Again, thank you all for your help. No problem. Would you mind explaining for the group what the actual problem was, and what the solution was?

Re: Character encoding

2008-06-19 Thread nch
Chris, I finally found it. My server.xml was not correctly configured. My fault. Again, thank you all for your help. - Original Message From: Christopher Schultz <[EMAIL PROTECTED]> To: Tomcat Users List Sent: Wednesday, June 18, 2008 11:12:45 PM Subject: Re: Character en

Re: Character encoding

2008-06-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 nch, nch wrote: | You say: | Tomcat does not use any environment variables. The only settings that | affect the interpretation of the URI are the "URIEncoding" and | "useBody..." settings on the . Are you using more than one | connector? Are you usin

Re: Character encoding

2008-06-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 nch, nch wrote: | But, if the URL is allways encoded in the same way and tomcat does | not receive any other information on what the resulting character | encoding should be. Why do I get different values from tomcat? Because the servers are configu

Re: Character encoding

2008-06-18 Thread nch
M does and so tomcat read them indirectly through it?? Cheers - Original Message From: Christopher Schultz <[EMAIL PROTECTED]> To: Tomcat Users List Sent: Wednesday, June 18, 2008 9:42:21 PM Subject: Re: Character encoding -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 nch,

Re: Character encoding

2008-06-18 Thread nch
Chris, thanks for your help. Please, see my comments bellow. Kind regards. - Original Message From: Christopher Schultz <[EMAIL PROTECTED]> To: Tomcat Users List Sent: Wednesday, June 18, 2008 9:42:21 PM Subject: Re: Character encoding -BEGIN PGP SIGNED MESSAGE- Hash

Re: Character encoding

2008-06-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 nch, nch wrote: | - I do remote debugging through Eclipse to both tomcat on windows | (same machine as eclipse, though) and tomcat on debian. Okay, remote debugging should not affect the server, but I'm still wondering if the server.xml you think yo

Re: Character encoding

2008-06-18 Thread nch
e environment dependent? Hope this is useful. Lots of thanks to you all. - Original Message From: Christopher Schultz <[EMAIL PROTECTED]> To: Tomcat Users List Sent: Wednesday, June 18, 2008 7:25:03 PM Subject: Re: Character encoding -BEGIN PGP SIGNED MESSAGE- Hash: SHA1

Re: Character encoding

2008-06-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 nch, nch wrote: | I have a form that has an input field named "query". I type "piraña" | an submit the form using the GET method. I can see the browser has | encoded this parameter into the URI as query=pira%C3%B1a Is this a correct UTF-8 encoding o

Re: Character encoding

2008-06-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 nch, nch wrote: | This doesn't work either. :( | I removed the useBodyEncoding property, as you suggested, from the | Connector element, but the URI parameter coming in the request is | still being decoded into ISO-8859-1 instead of UTF-8. How do

Re: Character encoding

2008-06-18 Thread Johnny Kewl
- Original Message - From: "Johnny Kewl" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Wednesday, June 18, 2008 6:26 PM Subject: Re: Character encoding - Original Message - From: "nch" <[EMAIL PROTECTED]> To: "Tomcat U

Re: Character encoding

2008-06-18 Thread Johnny Kewl
- Original Message - From: "nch" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Wednesday, June 18, 2008 5:09 PM Subject: Re: Character encoding There it goes. I have a form that has an input field named "query". I type "piraña" an s

Re: Character encoding

2008-06-18 Thread Johnny Kewl
- Original Message - From: "André Warnier" <[EMAIL PROTECTED]> Could you give an example of such a UTF-8 encoded URI ? (and tell us what it should be decoded to) Thanks Andre have a look here... its not url encoding, thats something different It about being able to store japanese an

Re: Character encoding

2008-06-18 Thread nch
gt; To: Tomcat Users List Sent: Wednesday, June 18, 2008 4:29:54 PM Subject: Re: Character encoding nch wrote: > Thanks, Christopher. > This doesn't work either. > Could you give an example of such a UTF-8 encoded URI ? (and tell us what it should be decoded to) Thanks

Re: Character encoding

2008-06-18 Thread André Warnier
nch wrote: Thanks, Christopher. This doesn't work either. Could you give an example of such a UTF-8 encoded URI ? (and tell us what it should be decoded to) Thanks - To start a new topic, e-mail: users@tomcat.apache.org To

Re: Character encoding

2008-06-18 Thread nch
'm having this problem in debian etch (works fine in windows xp). Many thanks. - Original Message From: Christopher Schultz <[EMAIL PROTECTED]> To: Tomcat Users List Sent: Wednesday, June 18, 2008 3:56:13 PM Subject: Re: Character encoding -BEGIN PGP SIGNED MESSAGE- Hash:

Re: Character encoding

2008-06-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 nch, nch wrote: | I'm having difficulties trying to decode URI parameters into UTF8. :( | When I moved the application | to linux (debian etch) I found out it was not working. We run on Linux as well. TC 5.5.23, Java 1.5.0_11. We have configured t

Re: [OT] Re: Character encoding

2007-07-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 lightbulb, lightbulb432 wrote: >> POST requests always use the request's "body" encoding, which is >> specified in the HTTP header (and can be overridden by using >> request.setCharacterEncoding). Some broken clients don't provide >> the character e

[OT] Re: Character encoding

2007-07-08 Thread lightbulb432
That was a really great set of answers, thanks! These follow-ups are somewhat off-topic to Tomcat, but you really know this stuff well so I hope you don't mind addressing them: POST requests always use the request's "body" encoding, which is specified in > the HTTP header (and can be overridden

Re: Character encoding

2007-07-07 Thread Christopher Schultz
Lightbulb, lightbulb432 wrote: > Why is the URIEncoding attribute specified on the connector rather than on a > host, for example? Because the host doesn't handle connections... the connectors do. > Does this mean that the number of virtual hosts that can > listen on the same port on the same bo

Re: Character encoding

2006-12-18 Thread Mark Thomas
Mester József wrote: > Hello Mark > >> Mester József wrote: >>> Ok. Let's see my problem. >>> I have a form with text input box. I type Árvíztűrő tükörfúrógép and I get >>> " ÃrvíztűrÅ tükörfúrógép > >> I have tested this with the latest 5.5.x source and it works correctly >> (there have

Re: Character encoding

2006-12-18 Thread Mester József
Hello Mark >Mester József wrote: >> Ok. Let's see my problem. >> I have a form with text input box. I type Árvíztűrő tükörfúrógép and I get " >> ÃrvíztűrÅ tükörfúrógép >I have tested this with the latest 5.5.x source and it works correctly >(there haven't been any encoding related fixes

Re: Character encoding

2006-12-16 Thread Mark Thomas
Mester József wrote: > Hello Mark > > Ok. Let's see my problem. > I have a form with text input box. I type Árvíztűrő tükörfúrógép and I get " > ÃrvíztűrÅ tükörfúrógép > " > Beautiful isn't it? I have tested this with the latest 5.5.x source and it works correctly (there haven't been

Re: Character encoding

2006-12-15 Thread Mester József
Hello Mark >This is unlikely to help you and may be read-only on your JVM. >You don't say what doesn't work but generally the following is required: >set URIEncoding="UTF-8" on the connector >set the the correct response encoding on every response (you can do >this per page or use a filter to do

Re: Character encoding

2006-12-13 Thread Mark Thomas
Mester József wrote: > Hi > I have some problem with character encoding. I have found a page ( > http://junlu.com/msg/1132.html ) and on this page there is a direction: > > 2. > In the Catalina.bat (windows) catalina.sh (linux) there must be a switch > added to the call to java.exe. The > swi

Re: Character encoding

2006-12-12 Thread olivier nouguier
export CATALINA_OPTS="-Dfile.encoding=UTF-8" On 12/12/06, Mester József <[EMAIL PROTECTED]> wrote: Hi I have some problem with character encoding. I have found a page ( http://junlu.com/msg/1132.html ) and on this page there is a direction: 2. In the Catalina.bat (windows) catalina.sh (linux)

Re: Character encoding, once again....

2006-08-14 Thread dizzi
THANKS, that URIencoding property of HTTP connector was source of GET problems I tried to remove filter after that, but POST requests stop working. So ive instaled filter back. Now I have working both GET and POST. Aleluja... d. Anyway its On Mon, 14 Aug 2006 22:40:27 +0200, Mark Thomas

Re: Character encoding, once again....

2006-08-14 Thread Mark Thomas
dizzi wrote: > Im not sure if this is problem of tomcat, but i think that its most > probable. Unlikely. I haven't seen a valid bug in this area for quite some time. It is usually a combination of configuration (check the URIEncoding property of your connector) and application errors. For a correc

RE: Character Encoding : Unix vs Windows

2006-04-03 Thread Derrick Koes
java.net.URLEncoder.encode -Original Message- From: Nigel Blake [mailto:[EMAIL PROTECTED] Sent: Monday, April 03, 2006 5:43 PM To: users@tomcat.apache.org Subject: Character Encoding : Unix vs Windows Problem : Creating a URL type with parameters that have a space between them causes an

Re: Character Encoding : Unix vs Windows

2006-04-03 Thread Michael Jouravlev
On 4/3/06, Nigel Blake <[EMAIL PROTECTED]> wrote: > Problem : Creating a URL type with parameters that have a space > between them causes an IOException in a javabean when called from > Tomcat 5.0.0.27 on a Unix installation. Using the same bean and JSP > code causes no problem when invoked on the

RE: Character Encoding -ISo-8859-1 Vs UTF-8 Vs GBK

2005-10-19 Thread LORESERVO.COM
Please don´t send more emails I´m not tomcat user -Mensaje original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Enviado el: Miércoles, 19 de Octubre de 2005 04:20 a.m. Para: Tomcat Users List Asunto: RE: Character Encoding -ISo-8859-1 Vs UTF-8 Vs GBK Notice: The information

RE: Character Encoding -ISo-8859-1 Vs UTF-8 Vs GBK

2005-10-19 Thread birendar . waldiya
Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and

RE: Character Encoding -ISo-8859-1 Vs UTF-8 Vs GBK

2005-10-18 Thread afonseca
Sorry, my mistake! I thought we were speaking about something else... AF Citando Peter Crowther <[EMAIL PROTECTED]>: > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > > I don't think it's true > > that UTF-8 can handle ALL european character very well. > > If it can't, the Unicode consort

Re: Character Encoding -ISo-8859-1 Vs UTF-8 Vs GBK

2005-10-18 Thread David Delbecq
UTF-8 (8-bit Unicode Transformation Format) is a lossless, variable-length character encoding for Unicode created by Ken Thompson and Rob Pike. It uses groups of bytes to represent the Unicode standard for the alphabets of many of the world's languages. UTF-8 is especially useful for transmission o

RE: Character Encoding -ISo-8859-1 Vs UTF-8 Vs GBK

2005-10-18 Thread Peter Crowther
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > I don't think it's true > that UTF-8 can handle ALL european character very well. If it can't, the Unicode consortium (http://www.unicode.org/) will be pretty worried, as UTF-8 is an encoding of Unicode... - Peter --

Re: Character Encoding -ISo-8859-1 Vs UTF-8 Vs GBK

2005-10-18 Thread afonseca
Hi, In Europe we have lots of languages. I don't think it's true that UTF-8 can handle ALL european character very well.There is a list in the net (I don't know here) with the other ISO encoding for other languages. AF Citando David Delbecq <[EMAIL PROTECTED]>: > Hi, > > UTF-8 can handle eur

Re: Character Encoding -ISo-8859-1 Vs UTF-8 Vs GBK

2005-10-18 Thread afonseca
Hi, In Europe we have lots of languages. I don't think it's true that UTF-8 can handle european character very well.There is a list in the net (I don't know here) with the other ISO encoding for other languages. AF Citando David Delbecq <[EMAIL PROTECTED]>: > Hi, > > UTF-8 can handle europea

Re: Character Encoding -ISo-8859-1 Vs UTF-8 Vs GBK

2005-10-18 Thread birendar . waldiya
Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and

RE: Character Encoding -ISo-8859-1 Vs UTF-8 Vs GBK

2005-10-18 Thread Robert Graf-Waczenski
ssage- > From: David Delbecq [mailto:[EMAIL PROTECTED] > Sent: Tuesday, October 18, 2005 12:08 PM > To: Tomcat Users List > Subject: Re: Character Encoding -ISo-8859-1 Vs UTF-8 Vs GBK > > > Hi, > > UTF-8 can handle european and chinese character very well. > If you can&

Re: Character Encoding -ISo-8859-1 Vs UTF-8 Vs GBK

2005-10-18 Thread David Delbecq
Hi, UTF-8 can handle european and chinese character very well. If you can't read using utf-8 any of those this simply mean you text file is not saved in utf-8. [EMAIL PROTECTED] a écrit : >Hi, >I am trying to read the universal charater form a text file to my java >application that stores them i