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.
This commit is contained in:
parent
14c427e33e
commit
0a3e12070f
@ -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 \
|
||||
|
36
share/monetdef/ja_JP.UTF-8.src
Normal file
36
share/monetdef/ja_JP.UTF-8.src
Normal file
@ -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
|
Loading…
x
Reference in New Issue
Block a user