• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Taglib Problem under Resin 2.1.11

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all, I have experienced a very very strange problem under resin 2.1.11.
The environment is Resin2.1.11/MySql 4/ConnectorJ 3.08, all use default character encoding setting(iso-8859-1).
the data in mysql are store using iso-8859-1, so I use a taglib to do encoding convertion and show the converted chinese character on webpage. All program runs perfect under tomcat 4.1.18, but encounter encoding problem under resin.
I added debug code in the taglib, and print both Strings before conversion and after. The code snippet like

I've compare the two "srcString" value under two server, no difference, but after encoding, tomcat get the correct encoding result, but resin get ??? only.
I think this problem is not concerned with mysql jdbc/application server, coz it is only console print...
Has anyone encounter the same problem before? can anyone help me? This really made me crazy for several days...
 
reply
    Bookmark Topic Watch Topic
  • New Topic