From owner-freebsd-bugs Sat Mar 24 7:40:10 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id A7A9D37B71E for ; Sat, 24 Mar 2001 07:40:03 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f2OFe3f49665; Sat, 24 Mar 2001 07:40:03 -0800 (PST) (envelope-from gnats) Date: Sat, 24 Mar 2001 07:40:03 -0800 (PST) Message-Id: <200103241540.f2OFe3f49665@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Jeroen Ruigrok/Asmodai Subject: Re: bin/26036: i18n comma vs period decimal separator mistake Reply-To: Jeroen Ruigrok/Asmodai Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/26036; it has been noted by GNATS. From: Jeroen Ruigrok/Asmodai To: Poul-Henning Kamp Cc: FreeBSD-gnats-submit@freebsd.org Subject: Re: bin/26036: i18n comma vs period decimal separator mistake Date: Sat, 24 Mar 2001 16:28:57 +0100 -On [20010323 22:00], Poul-Henning Kamp (phk@critter.freebsd.dk) wrote: > set in your environment: > > LANG=da_DK.ISO_8859-1 > > Then use the acroread-4.05 port to print to a postscript file > and notice how all decimal numbers are separated with a ',' > instead of a '.' > > This is not valid in postscript code. > > LANG=da_DK.ISO_8859-1 results in: > > dup /WhitePoint [0,9642 1,0000 0,8249] put] > > no LANG setting results in the correct: > > dup /WhitePoint [0.9642 1.0000 0.8249] put] > > I am unable to determine if this bug is in acroread or in > our i18n. Given what is the easier to get changed I think > it obvious where the problem should be fixed. Unfortunately the locale is correct and acroread is assuming things. =( This means that almost all European locales should exhibit the same problem(s). I do wonder though if Linux encountered the same problem. Time to hit the search engines. -- Jeroen Ruigrok van der Werven/Asmodai .oUo. asmodai@[wxs.nl|freebsd.org] Documentation nutter/C-rated Coder BSD: Technical excellence at its best D78D D0AD 244D 1D12 C9CA 7152 035C 1138 546A B867 Cogito, ergo sum... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message