Hi all

 

I'm experiencing a problem in the communication between a WSN producer and 
consumer:

 

1)                   the producer emits a notification whose payload contains a 
certain tag whose text value contains the character 'à' (ASCII code 133d)  and 
it correctly traces the messages on the log

2)                   using Ethereal on the consumer host I see that this 
character is wrongly coded into 14d

3)                   the consumer (it extends AbstractCapability and it 
implements ConsumerCapability, NotificationMessageListener), in the ::accepts 
method, receives a NotificationMessage that doesn't contain anymore the tag 
containing the 'à' (to be precise it doesn't contain anymore the grand father 
of the this tag and his previous sibling...sorry for genealogy game!!)

 

I guess it's a problem of encoding at producer side, do you know where and if 
can change the encoding configuration?

 

Many thanks

Francesco 


Internet Email Confidentiality Footer
-----------------------------------------------------------------------------------------------------
La presente comunicazione, con le informazioni in essa contenute e ogni 
documento o file allegato, e' rivolta unicamente alla/e persona/e cui e' 
indirizzata ed alle altre da questa autorizzata/e a riceverla. Se non siete i 
destinatari/autorizzati siete avvisati che qualsiasi azione, copia, 
comunicazione, divulgazione o simili basate sul contenuto di tali informazioni 
e' vietata e potrebbe essere contro la legge (art. 616 C.P., D.Lgs n. 196/2003 
Codice in materia di protezione dei dati personali). Se avete ricevuto questa 
comunicazione per errore, vi preghiamo di darne immediata notizia al mittente e 
di distruggere il messaggio originale e ogni file allegato senza farne copia 
alcuna o riprodurne in alcun modo il contenuto. 

This e-mail and its attachments are intended for the addressee(s) only and are 
confidential and/or may contain legally privileged information. If you have 
received this message by mistake or are not one of the addressees above, you 
may take no action based on it, and you may not copy or show it to anyone; 
please reply to this e-mail and point out the error which has occurred. 
-----------------------------------------------------------------------------------------------------

Reply via email to