mariadb/mysql-test/suite/client/mariadb-conv.result
Alexander Barkov 2c7b6214e7 A cleanup for MDEV-17088 Provide tools to encode/decode mysql-encoded file system names
- Load and convert the entire input file at once,
  rather than reading string-by-string using fgets().
  This change makes it possible to convert from UCS2, UTF16, UTF32 data.
- Adding the --delimiter command, to treat the specified
  characters as delimiters rather than data to convert.
  Useful in combination with `-f filename` or `-t filename`.
  The delimiter characters are not converted,
  they are copied from the input to the output as is.
- Adding diagnostics with line number and position if:
  * an illegal input byte sequence was found
  * a character cannot be converted to the target character set
2019-12-05 09:45:28 +04:00

25 lines
511 B
Text

#
# MDEV-17088 Provide tools to encode/decode mysql-encoded file system names
#
# default encoding
t1
t1
t1
# invalid option
mariadb-conv: unknown option '-r'
# unknown "to" character set
Character set unknown-cs is not supported
# unknown "from" character set
Character set unknown-cs is not supported
# Bad delimiter
Bad --delimiter value
# Conversion error
Conversion from utf8 to latin1 failed at position 7
aaa
xxx???xxx
bbb
# Bad input character
Illegal utf8 byte sequence at position 7
aaa
xxx???xxx
bbb