implement the same charset that your CIFS drive is configured for Martin ______________________________________________ Note de déni et de confidentialité Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni.
> Date: Thu, 24 Sep 2009 09:44:34 +0200 > From: sylvie.per...@continew.fr > To: users@tomcat.apache.org > Subject: Re: Create FileInputStream in servlet from remote file with > accentuated character name > > Christopher, André, > > Christopher Schultz a écrit : > > > >> And (just to anticipate the next issue), Sylvie, does your program > >> actually need to read the content of the file and do something with that > >> content ? > >> > > > > Yeah, remember to use a Reader and specify the character encoding. > > > Yes, my program needs to do something with the content of files of the > shared Windows directory. > Actually, the main action is to parse each files and read content > throught an "InputStreamReader(new FileInputStream(file))". > > According to what Christopher says, I need to always specify the > character encoding, so doing "InputStreamReader(new > FileInputStream(file), encoding)" > > Thanks for your help. > > Sylvie. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > _________________________________________________________________ Insert movie times and more without leaving Hotmail®. http://windowslive.com/Tutorial/Hotmail/QuickAdd?ocid=TXT_TAGLM_WL_HM_Tutorial_QuickAdd_062009