1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57
|
LANG=en_US.UTF-8
LC_ALL=en_US.UTF-8
unset LC_CTYPE
unset LC_NUMERIC
unset LC_TIME
unset LC_COLLATE
unset LC_MONETARY
unset LC_MESSAGES
unset LC_PAPER
unset LC_NAME
unset LC_ADDRESS
unset LC_TELEPHONE
unset LC_MEASUREMENT
unset LC_IDENTIFICATION
unset LC_ALL
unset CHARSET
unset MM_CHARSET
export LANG
export LC_ALL
echo "foo" >confmdtest
./makemime -c application/octet-stream -C utf-8 -N footest confmdtest
./makemime -c auto -C utf-8 -N text7bit confmdtest
echo "foox" | tr 'x' '\000' >confmdtest
./makemime -c auto -C utf-8 -N binarybase64 confmdtest
echo "Tést" >confmdtest
./makemime -c auto -C utf-8 -N text8bit confmdtest
echo "Test Test Test Test Tést" >confmdtest
./makemime -c auto -C utf-8 -N text8bit confmdtest
x="1234567890"
x="$x$x$x$x$x$x$x$x$x$x"
x="$x$x$x$x$x$x$x$x$x$x"
echo $x >confmdtest
./makemime -c auto -C utf-8 -N textqp confmdtest
x="ééééé"
x="$x$x$x$x$x$x$x$x$x$x"
x="$x$x$x$x$x$x$x$x$x$x"
echo $x >confmdtest
./makemime -c auto -C utf-8 -N textbase64 confmdtest
rm -f confmdtest
./reformime -o 'дададададададададада'
./reformime -h '=?UTF-8?B?0LTQsNC00LDQtNCw0LTQsNC00LDQtNCw0LTQsNC00LDQtNCw0LTQsA==?='
./reformime -o 'дададададададададада дададададададададада'
./reformime -h '=?UTF-8?B?0LTQsNC00LDQtNCw0LTQsNC00LDQtNCw0LTQsNC00LDQtNCw0LTQsCDQtNCw0LQ=?= =?UTF-8?B?0LDQtNCw0LTQsNC00LDQtNCw0LTQsNC00LDQtNCw0LTQsA==?='
./reformime -o 'дададададададададада foo дададададададададада'
./reformime -h '=?UTF-8?B?0LTQsNC00LDQtNCw0LTQsNC00LDQtNCw0LTQsNC00LDQtNCw0LTQsA==?= foo =?UTF-8?B?0LTQsNC00LDQtNCw0LTQsNC00LDQtNCw0LTQsNC00LDQtNCw0LTQsA==?='
./reformime -o 'дададададададададада foo bar дададададададададада'
./reformime -h '=?UTF-8?B?0LTQsNC00LDQtNCw0LTQsNC00LDQtNCw0LTQsNC00LDQtNCw0LTQsA==?= foo bar =?UTF-8?B?0LTQsNC00LDQtNCw0LTQsNC00LDQtNCw0LTQsNC00LDQtNCw0LTQsA==?='
|