Return-Path: X-Original-To: apmail-incubator-ooo-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-ooo-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C22EA9FF7 for ; Thu, 12 Apr 2012 10:09:23 +0000 (UTC) Received: (qmail 11931 invoked by uid 500); 12 Apr 2012 10:09:23 -0000 Delivered-To: apmail-incubator-ooo-dev-archive@incubator.apache.org Received: (qmail 11763 invoked by uid 500); 12 Apr 2012 10:09:22 -0000 Mailing-List: contact ooo-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ooo-dev@incubator.apache.org Delivered-To: mailing list ooo-dev@incubator.apache.org Received: (qmail 11723 invoked by uid 99); 12 Apr 2012 10:09:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Apr 2012 10:09:21 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of 3chaitanya@gmail.com designates 209.85.212.171 as permitted sender) Received: from [209.85.212.171] (HELO mail-wi0-f171.google.com) (209.85.212.171) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Apr 2012 10:09:17 +0000 Received: by wibhj13 with SMTP id hj13so3951008wib.0 for ; Thu, 12 Apr 2012 03:08:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=TDM85A4hos6pEf8QnZ9MUFELg9/OqcOPXNG3tpMT8wM=; b=SRISqAEjggAtYc9yvY/xD+KFA0s+jceEVAzPNl2XHtGRsVOipj7tVTtAcrCcTI68e8 s1Ovw0VgRHqF6V4UlL9+Fmk5Y0hBWHJtJmGO+/VnH/3XHUZcMh1228XUjglxWgKc4rDN xqq/TY1NDAbA2eWaGkqfGppFKVXl1u4S9mdyKsYNouW0Jlg+rBNWw6RbHqgCnwQBdEmq XJvpRHKRh2wI0T0VCwXnmvJ2Q/ONTIGvP9YO60yQJ34+y5+emYOrf5doC38UCNR7ibta zFQrzS8IgO8trKBw1zn3EkFuhT1AHOWr0jxlIbSJIUqIC/c+uXfW8QBM9gT3DY2iqncA FqZg== Received: by 10.180.8.231 with SMTP id u7mr4452172wia.9.1334225336141; Thu, 12 Apr 2012 03:08:56 -0700 (PDT) MIME-Version: 1.0 Received: by 10.223.118.145 with HTTP; Thu, 12 Apr 2012 03:08:35 -0700 (PDT) From: Chaitanya Sevak <3chaitanya@gmail.com> Date: Thu, 12 Apr 2012 15:38:35 +0530 Message-ID: Subject: Saved RTF has issue in encoding Latin1 characters To: ooo-dev@incubator.apache.org Content-Type: multipart/alternative; boundary=f46d044304d03607a104bd788b62 X-Virus-Checked: Checked by ClamAV on apache.org --f46d044304d03607a104bd788b62 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi, In Open Office 3.2 windows version, I observed issue in RTF file. You may open Open Office writer and copy -paste this string -- =C5=A1bke=C3= =A2}sKeve (Note - this is not garbage data but meaningful asian word if used with monolingual font - APS-DV-PRAKASH) Then save the file as RTF and check the RTF code using any notepad application. It saves the non english characters as unicode values and HEX code in following fashion For character =C5=A1 - RTF file code shows - \u353\'3f For character =C3=A2 - RTF code shows - \u226\'3f Like this for every special character the unicode value is correct but for each such character HEX code is incorrect and that is - \'3f for every special character. Same string is stored in AbiWord shows proper HEX values- For character =C5=A1 - RTF file code shows - \u353\'9a For character =C3=A2 - RTF code shows - \u226\'e2 Which are correct as per wiki link. http://en.wikipedia.org/wiki/Windows-1252 This does not give any issue in rendering the string in Open Office writer but if this file is used in other programs which strictly uses HEX values, we hit with issue. (Anyways incorrect HEX values is definitely an issue!) Thanks, Chaitanya *Was reported on forum at - http://www.oooforum.org/forum/viewtopic.phtml?t=3D153638* --f46d044304d03607a104bd788b62--