Re: [Proposal] Default Encoding option for JSP/Tomcat in server.x ml or web.xml

2001-05-14 Thread Jan Fnukal
> > For POST requests, the request parameters will be parsed in > > the character encoding specified by the browser (as part of > > the content type header). If they did not, a new feature > > in Servlet 2.3 lets you call request.setCharacterEncoding() > > before trying to read any request parame

Re: %3F Problem

2001-04-13 Thread Jan Fnukal
: javax.servlet.http.HttpUtils.parseQueryString() I thing is better to use one implementation of parsing URL. (I posted the code in "Support for different Charsets" tread) Hi Jan Fnukal e-mail: [EMAIL PROTECTED] tel: +420-5-4142 5628 EfCon a.s. Jaselska 25 611 57 Brno Czech Republic ww

Support for different Charsets

2001-04-11 Thread Jan Fnukal
to be more specific about illegal arg throw new IllegalArgumentException(); } catch (StringIndexOutOfBoundsException e) { String rest = s.substring(i); sb.append(rest); if (rest.length()==2) i++; } break; default: sb.append(c); break; } } return sb.toString(); } I have to learn