Bug#687249: debian-installer: Missing time zone region
Christian PERRIER, le Mon 17 Sep 2012 07:11:12 +0200, a écrit : Quoting Samuel Thibault (sthiba...@debian.org): Frankly speaking, I have no idea why, in 2004, we decided to drop choices with non ASCII characters. I guess this is because of some limitation of debconf or po-debconf at that time. Or maybe because we have interfaces where only pure ASCII is possible. I guess gettext was perhaps just not ready for UTF-8 at the time? I had to add [encoding: UTF-8] in the po template, and then it worked fine. Nice catch. Well, the error message told me to do so :) Samuel -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#687249: debian-installer: Missing time zone region
Control: reassign 687249 localechooser Control: tags 687249 + pending Christian PERRIER, le Wed 12 Sep 2012 19:11:21 +0200, a écrit : # Bubulle 5/25/2004 We should find a way to avoid enforcing ASCII here if ($country !~ /^[-_A-Za-z0-9 !@#$%^Z*()-_+={};:',.?|]+$/) { print STDERR I: skipping country $country; not ASCII\n; next; } ... Frankly speaking, I have no idea why, in 2004, we decided to drop choices with non ASCII characters. I guess this is because of some limitation of debconf or po-debconf at that time. Or maybe because we have interfaces where only pure ASCII is possible. I guess gettext was perhaps just not ready for UTF-8 at the time? I had to add [encoding: UTF-8] in the po template, and then it worked fine. Samuel -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#687249: debian-installer: Missing time zone region
Quoting Samuel Thibault (sthiba...@debian.org): Frankly speaking, I have no idea why, in 2004, we decided to drop choices with non ASCII characters. I guess this is because of some limitation of debconf or po-debconf at that time. Or maybe because we have interfaces where only pure ASCII is possible. I guess gettext was perhaps just not ready for UTF-8 at the time? I had to add [encoding: UTF-8] in the po template, and then it worked fine. Nice catch. I'm preparign an upload. signature.asc Description: Digital signature
Bug#687249: debian-installer: Missing time zone region
I'm sorry, I thought it was the time zone. I just tried it again in Virtualbox with an iso image I just downloaded (DVD1, here : http://cdimage.debian.org/cdimage/weekly-builds/amd64/iso-dvd/). I tried to pick other languages than French, but I had the same problem : After picking Other and then Indian Ocean, Reunion is not in the list. I attached a screenshot showing it. Le 11/09/2012 20:41, Christian PERRIER a écrit : Quoting dagrut (dag...@yahoo.fr): Package: debian-installer Severity: normal Dear Maintainer, The Reunion island time zone is missing in the Indian Ocean section. After the installation, dpkg-reconfigure tzdata fixed it. Please be more specific. There is no place where one chooses Reunion as a *time zone*. Localechooser allows choosing it as Country, territory or area: after choosing the language, at the very beginning of the installation process. Is that what you did choose? First pick French, then pich Autre when prompted for a country. If so, Reunion *should* appear in Indian Ocean. Choosing Reunion there should set the timezone as Indian/Reunion later on (indeed without any question asked about *time zone*). So, I don't really understand the meaning of your report. attachment: screenshot_12092012-09:24:19.png
Bug#687249: debian-installer: Missing time zone region
FERRINO Maxime, le Wed 12 Sep 2012 12:17:20 +0400, a écrit : I just tried it again in Virtualbox with an iso image I just downloaded (DVD1, here : http://cdimage.debian.org/cdimage/weekly-builds/amd64/iso-dvd/). I tried to pick other languages than French, but I had the same problem : After picking Other and then Indian Ocean, Reunion is not in the list. It seems RE is missing from localechooser/debian/templates isn't it? It seems nothing in the source code tells that it is in the Indian Ocean. Samuel -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#687249: debian-installer: Missing time zone region
Quoting Samuel Thibault (sthiba...@debian.org): FERRINO Maxime, le Wed 12 Sep 2012 12:17:20 +0400, a écrit : I just tried it again in Virtualbox with an iso image I just downloaded (DVD1, here : http://cdimage.debian.org/cdimage/weekly-builds/amd64/iso-dvd/). I tried to pick other languages than French, but I had the same problem : After picking Other and then Indian Ocean, Reunion is not in the list. It seems RE is missing from localechooser/debian/templates isn't it? It seems nothing in the source code tells that it is in the Indian Ocean. regionmap, in localechooser's top directory should: .../... FR Europe .../... CC Indian Ocean CX Indian Ocean TF Indian Ocean HM Indian Ocean IO Indian Ocean KM Indian Ocean MG Indian Ocean MU Indian Ocean MV Indian Ocean RE Indian Ocean SC Indian Ocean YT Indian Ocean .../... This file is used by the mktemplates.continent script to build templates at package build time. AndI think I know what's happening. Look at this code in mktemplates.continent: open (L, $iso3166tab) || die $iso3166tab: $!; while (L) { chomp; my ($code, $country) = split(' ', $_, 2); # Bubulle 5/25/2004 We should find a way to avoid enforcing ASCII here if ($country !~ /^[-_A-Za-z0-9 !@#$%^Z*()-_+={};:',.?|]+$/) { print STDERR I: skipping country $country; not ASCII\n; next; } # Escape commas $country =~ s/,/\\,/g; $code2country{$code}=$country; $country2code{$country}=$code; $codes_listed{$code}=0; } I'm afraid that, when localechooser is built, we drop all countries that have non ASCII characters in their *English* name in ISO-3166. And, guess what: iso_3166_entry alpha_2_code=RE alpha_3_code=REU numeric_code=638 name=Réunion / If I'm correct, we should also be missing: iso_3166_entry alpha_2_code=BL alpha_3_code=BLM numeric_code=652 name=Saint Barthélemy / (it should be in Caribbean) Probably the same for Åland Island, etc. Frankly speaking, I have no idea why, in 2004, we decided to drop choices with non ASCII characters. I guess this is because of some limitation of debconf or po-debconf at that time. Or maybe because we have interfaces where only pure ASCII is possible. We need someone to test-builta D-I image with localechooser having this filtering commentedand check what happens..:) signature.asc Description: Digital signature
Bug#687249: debian-installer: Missing time zone region
Package: debian-installer Severity: normal Dear Maintainer, The Reunion island time zone is missing in the Indian Ocean section. After the installation, dpkg-reconfigure tzdata fixed it. -- System Information: Debian Release: wheezy/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 3.2.0-3-amd64 (SMP w/8 CPU cores) Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#687249: debian-installer: Missing time zone region
Quoting dagrut (dag...@yahoo.fr): Package: debian-installer Severity: normal Dear Maintainer, The Reunion island time zone is missing in the Indian Ocean section. After the installation, dpkg-reconfigure tzdata fixed it. Please be more specific. There is no place where one chooses Reunion as a *time zone*. Localechooser allows choosing it as Country, territory or area: after choosing the language, at the very beginning of the installation process. Is that what you did choose? First pick French, then pich Autre when prompted for a country. If so, Reunion *should* appear in Indian Ocean. Choosing Reunion there should set the timezone as Indian/Reunion later on (indeed without any question asked about *time zone*). So, I don't really understand the meaning of your report. signature.asc Description: Digital signature