Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
23899d6d
Commit
23899d6d
authored
Feb 05, 2010
by
Alexander Nozdrin
Browse files
Options
Browse Files
Download
Plain Diff
Auto-merge from mysql-next-mr.
parents
61903751
f53d591e
Changes
2
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
6373 deletions
+0
-6373
sql/share/errmsg-cnv.sh
sql/share/errmsg-cnv.sh
+0
-61
sql/share/errmsg.txt
sql/share/errmsg.txt
+0
-6312
No files found.
sql/share/errmsg-cnv.sh
deleted
100644 → 0
View file @
61903751
#
# 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
sql/share/errmsg.txt
deleted
100644 → 0
View file @
61903751
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment