This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Several broken "supported" locales


I decided to try and build all the locales, and made the following
target in libc/localedata/Makefile.  Please included it in CVS.

test-suppported-locales:
	mkdir -p /tmp/testlocale
	@for value in $(SUPPORTED-LOCALES) ; do \
		charset=`echo $$value | sed -e 's,.*/,,'`; \
		locale=`echo $$value | sed -e 's,/[^/]*,,'`; \
		input=`echo $$locale | sed 's/\([^.]*\)[^ at ]*\(.*\)/\1\2/'`; \
		cmd="$(LOCALEDEF) -i locales/$$input -c -f charmaps/$$charset \
			/tmp/testlocale/$$locale" ; \
		if LANG=C $$cmd ; then \
		  echo "success: $$value" ; \
		else \
		  echo "error: $$value '$$cmd'" ; \
		fi ; \
	done
	rm -rf /tmp/testlocale

The result of a test run is two classes of problems.

`int_curr_symbol' missing in ISO 4217
-------------------------------------

  ar_SD/ISO-8859-6
  es_EC/ISO-8859-1
  sr_YU/ISO-8859-2
  sr_YU at cyrillic/ISO-8859-5

I will try to submit patches for these, when I find out which currency
they are using.

unknown character in field `currency_symbol'
--------------------------------------------

  br_FR/ISO-8859-1
  ca_ES/ISO-8859-1
  de_AT/ISO-8859-1
  de_BE/ISO-8859-1
  de_DE/ISO-8859-1
  de_LU/ISO-8859-1
  el_GR/ISO-8859-7
  en_IE/ISO-8859-1
  es_ES/ISO-8859-1
  eu_ES/ISO-8859-1
  fi_FI/ISO-8859-1
  fr_BE/ISO-8859-1
  fr_FR/ISO-8859-1
  fr_LU/ISO-8859-1
  ga_IE/ISO-8859-1
  gl_ES/ISO-8859-1
  it_IT/ISO-8859-1
  nl_NL/ISO-8859-1
  pt_PT/ISO-8859-1
  vi_VN.TCVN/TCVN5712-1

Most of these are locales with the euro sign which is missing in
ISO-8859-1.  Should they be removed from the SUPPORTED list?  I'm not
sure what the problem is for the rest of them.  I do not know the
charset.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]