mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 20:42:30 +01:00
Auto-merge from mysql-next-mr.
This commit is contained in:
commit
55152dc2f5
3 changed files with 1 additions and 6375 deletions
|
@ -29,8 +29,7 @@ AC_CANONICAL_SYSTEM
|
|||
# TAR files, the path name is split into two parts, a 155 chacater
|
||||
# first part and a 100 character second part.
|
||||
AM_INIT_AUTOMAKE([1.9 tar-ustar])
|
||||
LT_INIT
|
||||
LT_PREREQ([1.5.6])
|
||||
AC_PROG_LIBTOOL
|
||||
|
||||
AM_CONFIG_HEADER([include/config.h])
|
||||
|
||||
|
|
|
@ -1,61 +0,0 @@
|
|||
#
|
||||
# This shell script converts errmsg.txt
|
||||
# from a mixed-charset format
|
||||
# to utf8 format
|
||||
# and writes the result to errmgs-utf8.txt
|
||||
#
|
||||
|
||||
|
||||
cat errmsg.txt | while IFS= ; read -r a
|
||||
do
|
||||
cs=""
|
||||
|
||||
var="${a#"${a%%[![:space:]]*}"}"
|
||||
|
||||
case $var in
|
||||
cze*|hun*|pol*|rum*|slo*)
|
||||
cs=latin2
|
||||
;;
|
||||
dan*|nla*|eng*|fre*|ger*|ita*|nor*|por*|spa*|swe*)
|
||||
cs=latin1
|
||||
;;
|
||||
est*)
|
||||
cs=latin7
|
||||
;;
|
||||
greek*)
|
||||
cs=windows-1253
|
||||
;;
|
||||
jpn*)
|
||||
cs=euc-jp
|
||||
;;
|
||||
jps*)
|
||||
cs=shift-jis
|
||||
;;
|
||||
kor*)
|
||||
cs=euc-kr
|
||||
;;
|
||||
serbian*)
|
||||
cs=windows-1250
|
||||
;;
|
||||
rus*)
|
||||
cs=koi8-r
|
||||
;;
|
||||
ukr*)
|
||||
cs=koi8-u
|
||||
;;
|
||||
*)
|
||||
echo $a
|
||||
esac
|
||||
|
||||
if [ "x$cs" != "x" ]
|
||||
then
|
||||
b=`echo $a | iconv -f $cs -t utf-8` ; rc=$?
|
||||
if [ "$rc" == "0" ]
|
||||
then
|
||||
echo "$b"
|
||||
else
|
||||
echo "# This message failed to convert from $cs, skipped"
|
||||
fi
|
||||
fi
|
||||
done > errmsg-utf8.txt
|
||||
|
6312
sql/share/errmsg.txt
6312
sql/share/errmsg.txt
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue