summaryrefslogtreecommitdiffstats
path: root/share/monetdef
diff options
context:
space:
mode:
authortjr <tjr@FreeBSD.org>2004-03-29 01:29:13 +0000
committertjr <tjr@FreeBSD.org>2004-03-29 01:29:13 +0000
commit0a3e12070fdac87daa2c838d0230cf0c7f632c0f (patch)
tree25f21dc1548c4a3462617f8284c338d404a516cc /share/monetdef
parent14c427e33ee6d1e49c94c5d478d2c75a91de1842 (diff)
downloadFreeBSD-src-0a3e12070fdac87daa2c838d0230cf0c7f632c0f.zip
FreeBSD-src-0a3e12070fdac87daa2c838d0230cf0c7f632c0f.tar.gz
Add a new LC_MONETARY data file for the ja_JP.UTF-8 locale instead of using
the ja_JP.eucJP version. Although the latter looks like plain ASCII, it is actually JIS Roman, so it is not correct to treat it as UTF-8.
Diffstat (limited to 'share/monetdef')
-rw-r--r--share/monetdef/Makefile3
-rw-r--r--share/monetdef/ja_JP.UTF-8.src36
2 files changed, 37 insertions, 2 deletions
diff --git a/share/monetdef/Makefile b/share/monetdef/Makefile
index f6552d3..a9614a6 100644
--- a/share/monetdef/Makefile
+++ b/share/monetdef/Makefile
@@ -40,6 +40,7 @@ LOCALES= af_ZA.ISO8859-1 \
is_IS.ISO8859-1 \
it_IT.ISO8859-1 \
ja_JP.eucJP \
+ ja_JP.UTF-8 \
kk_KZ.PT154 \
kk_KZ.UTF-8 \
ko_KR.eucKR \
@@ -151,8 +152,6 @@ afterinstall:
ln -sf ../${CH_SRC}.UTF-8/LC_MONETARY \
${LOCALEDIR}/${link}.UTF-8/LC_MONETARY
.endfor
- ln -sf ../ja_JP.eucJP/LC_MONETARY \
- ${LOCALEDIR}/ja_JP.UTF-8/LC_MONETARY
ln -sf ../ko_KR.eucKR/LC_MONETARY \
${LOCALEDIR}/ko_KR.UTF-8/LC_MONETARY
ln -sf ../zh_TW.Big5/LC_MONETARY \
diff --git a/share/monetdef/ja_JP.UTF-8.src b/share/monetdef/ja_JP.UTF-8.src
new file mode 100644
index 0000000..fce3288
--- /dev/null
+++ b/share/monetdef/ja_JP.UTF-8.src
@@ -0,0 +1,36 @@
+# $FreeBSD$
+#
+# WARNING: spaces may be essential at the end of lines
+# WARNING: empty lines are essential too
+#
+# int_curr_symbol (last character always SPACE)
+JPY
+# currency_symbol
+# mon_decimal_point
+.
+# mon_thousands_sep
+,
+# mon_grouping, separated by ;
+3;3
+# positive_sign
+
+# negative_sign
+-
+# int_frac_digits
+0
+# frac_digits
+0
+# p_cs_precedes
+1
+# p_sep_by_space
+0
+# n_cs_precedes
+1
+# n_sep_by_space
+0
+# p_sign_posn
+1
+# n_sign_posn
+4
+# EOF
OpenPOWER on IntegriCloud