Return-Path: Delivered-To: apmail-jakarta-commons-user-archive@www.apache.org Received: (qmail 98983 invoked from network); 26 Oct 2006 06:08:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Oct 2006 06:08:19 -0000 Received: (qmail 35898 invoked by uid 500); 24 Oct 2006 13:36:27 -0000 Delivered-To: apmail-jakarta-commons-user-archive@jakarta.apache.org Received: (qmail 35881 invoked by uid 500); 24 Oct 2006 13:36:27 -0000 Mailing-List: contact commons-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Jakarta Commons Users List" Reply-To: "Jakarta Commons Users List" Delivered-To: mailing list commons-user@jakarta.apache.org Received: (qmail 35870 invoked by uid 99); 24 Oct 2006 13:36:26 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Oct 2006 06:36:26 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [216.82.240.99] (HELO mail85.messagelabs.com) (216.82.240.99) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 24 Oct 2006 06:36:13 -0700 X-VirusChecked: Checked X-Env-Sender: Andres.Rangel@girosol.com X-Msg-Ref: server-10.tower-85.messagelabs.com!1161696950!18858298!1 X-StarScan-Version: 5.5.10.7; banners=girosol.com,-,- X-Originating-IP: [12.32.124.163] Received: (qmail 2350 invoked from network); 24 Oct 2006 13:35:50 -0000 Received: from girosol.com (HELO GIROSOL.COM) (12.32.124.163) by server-10.tower-85.messagelabs.com with SMTP; 24 Oct 2006 13:35:50 -0000 Received: from GWIADOM-MTA by GIROSOL.COM with Novell_GroupWise; Tue, 24 Oct 2006 09:35:50 -0400 Message-Id: <453DDE6B.8066.00EC.0@girosol.com> X-Mailer: Novell GroupWise Internet Agent 7.0 Date: Tue, 24 Oct 2006 09:35:39 -0400 From: "Andres Rangel" To: Subject: Encoding problem uploading a file Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org Hi, we have a web program that were our clients in different Countries of the world use to upload some files to us. We have a problem with the files been uploaded from Haiti. When they upload the file, our servlet does not recognize it. it reads undefined characters. But if they send me the file by mail, and I upload the file from my PC, it works with no problem. I tried setting up the encoding in the html page that uploads the form, and I also set up the encoding when reading the file: FileItem item = (FileItem)upload.parseRequest(request).get(0); InputStream inputStr = null; inputStr = item.getInputStream(); in = new BufferedReader(new InputStreamReader(inputStr,"UTF-8")); But I am still not been able to parse their file. I can change the settings in their PC , but I jus don't know what to change, since they tell me they have US english as the default language in their OS (Windows XP); I even made them download IE7 to see if it was the browser, but got the same result. any help is appreciated thks Andres R SW Engineer MIS Dept. Girosol Corp. ============================================================================= This email communication (and any attachments) are confidential and are intended only for the individual(s) or entity named above and others who have been specifically authorized to receive it. If you are not the intended recipient, please do not read, copy, use or disclose the contents of this communication to others. Please notify the sender that you have received this email in error by replying to the email or by telephoning (305)944-1424. Please then delete the email and any copies of it. This information may be subject to legal professional or other privilege or may otherwise be protected by work product immunity or other legal rules. Thank you ============================================================================== _____________________________________________________________________________ Scanned by IBM Email Security Management Services powered by MessageLabs. For more information please visit http://www.ers.ibm.com _____________________________________________________________________________ --------------------------------------------------------------------- To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-user-help@jakarta.apache.org