Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id EE615200B91 for ; Thu, 29 Sep 2016 14:55:21 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id ED33F160AE3; Thu, 29 Sep 2016 12:55:21 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 67571160AD7 for ; Thu, 29 Sep 2016 14:55:21 +0200 (CEST) Received: (qmail 86174 invoked by uid 500); 29 Sep 2016 12:55:20 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 86162 invoked by uid 99); 29 Sep 2016 12:55:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Sep 2016 12:55:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 724552C0B05 for ; Thu, 29 Sep 2016 12:55:20 +0000 (UTC) Date: Thu, 29 Sep 2016 12:55:20 +0000 (UTC) From: "Kaloyan Spiridonov (JIRA)" To: issues@commons.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (BEANUTILS-498) BeanUtils relies on deafult locale MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 29 Sep 2016 12:55:22 -0000 Kaloyan Spiridonov created BEANUTILS-498: -------------------------------------------- Summary: BeanUtils relies on deafult locale Key: BEANUTILS-498 URL: https://issues.apache.org/jira/browse/BEANUTILS-498 Project: Commons BeanUtils Issue Type: Bug Affects Versions: 1.8.3 Reporter: Kaloyan Spiridonov Priority: Minor In several places BeanUtils does not use proper toLower()/toUpper(). The is= sue is that if the server relies on the default locale and if the process w= as started with some non English compatible locale such as Turkish, toUpper= /Lower will yield an incorrect result. For instance "URI".toLowerCase() wil= l result in "ur=C4=B1" instead of "uri". The same applies to toUpperCase ->= "uri".toUpperCase() will become "UR=C4=B0" and checks like "string.toUpper= Case().equals(someConstant)" will fail. It's about BooleanConverter class lines 212 and 218 and JDBCDynaClass class= line 193 -- This message was sent by Atlassian JIRA (v6.3.4#6332)