Hi Irfan, Thanks for this detailled report. The best way to move forward is to create a formal report via our issue tracker at: http://restlet.tigris.org/servlets/ProjectIssues
You will just need to create a Tigris.org account. Best regards, Jerome > -----Message d'origine----- > De : news [mailto:[EMAIL PROTECTED] De la part de Irfan Jamadar > Envoyé : lundi 21 mai 2007 14:10 > À : [email protected] > Objet : Character encoding truncation for XML PUT > > Hi > > I am a colleague of Sreenivas Reddy, and thus have been owkring on the > same application which utilises the restlet framework. > We have recently started to utilise the application in an > international > sense i.e. introduce languages such as Turkish, Polish etc. > This has led to issues with character set encoding, even > though we have > correctly utilised UTT-8 throught. > These problems however appear to have been fixed with the recent fixes > (in the realm of InputRepresentation, getText, toString etc). > But one problem is still persisting, when we PUT an XML entity to the > framework. Even though the Content-Type are correctly set > i.e. application/xml;charset=UTF-8 > Basically the Entity that comes through on the restlet > Request object has > not been correctly encoded (shown by the fact that it has > been truncated > by N bytes). > For example: > > <test> > <description>Á<description> > </test> > > Becomes: > > <test> > <description>Á<description> > </test > > Since the 'Á' character occupies two bytes. > > I have eliminated our actual application from the equation by > writing a > very simple stand alone test to replicate the error. > Is there somewhere I can provide this example app, to help in > resolving > the problem? > > Cheers; > Irfan

