[Matroska-devel] converting to execution character set: Invalid or incomplete multibyte or wide character

Fabian Greffrath fabian at greffrath.com
Tue Aug 3 09:37:21 CEST 2010


Dear matroska developers,

libmatroska is currently failing to build the test suite with 
gcc-4.4.4 with the following error message:

make[1]: Entering directory `/home/fabian/Debian/libmatroska/make/linux'
g++ -c  -g -O2  -Wall -Wno-unknown-pragmas -ansi -fno-gnu-keywords 
-D_GNU_SOURCE -Wshadow 
-I/home/fabian/Debian/libmatroska/make/linux/../.. 
-I/home/fabian/Debian/libmatroska/make/linux/../../../libebml -o 
test6.o 
/home/fabian/Debian/libmatroska/make/linux/../../test/mux/test6.cpp
/home/fabian/Debian/libmatroska/make/linux/../../test/mux/test6.cpp: 
In function 'int main(int, char**)':
/home/fabian/Debian/libmatroska/make/linux/../../test/mux/test6.cpp:125: 
error: converting to execution character set: Invalid or incomplete 
multibyte or wide character
/home/fabian/Debian/libmatroska/make/linux/../../test/mux/test6.cpp:323: 
error: converting to execution character set: Invalid or incomplete 
multibyte or wide character
/home/fabian/Debian/libmatroska/make/linux/../../test/mux/test6.cpp:352: 
error: converting to execution character set: Invalid or incomplete 
multibyte or wide character
/home/fabian/Debian/libmatroska/make/linux/../../test/mux/test6.cpp:355: 
error: converting to execution character set: Invalid or incomplete 
multibyte or wide character
make[1]: *** [test6.o] Error 1
make[1]: Leaving directory `/home/fabian/Debian/libmatroska/make/linux'

The cause for this error messages are invalid wide characters in 
test/mux/test6.cpp. They should be either converted to valid UTF-8 
(01-execution-character-set.patch) or, in case you want to keep them 
as they are, the compiler should be explicitely told which character 
set they are to be converted from (01-input-charset.patch). Please 
find a patch for either case attached to this message, both are 
sufficient to fix the failing compilation.

Cheers,
Fabian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 01-input-charset.patch
Type: text/x-diff
Size: 409 bytes
Desc: not available
URL: <http://lists.matroska.org/pipermail/matroska-devel/attachments/20100803/0ae5ee1d/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 01-execution-character-set.patch
Type: text/x-diff
Size: 1642 bytes
Desc: not available
URL: <http://lists.matroska.org/pipermail/matroska-devel/attachments/20100803/0ae5ee1d/attachment-0001.patch>


More information about the Matroska-devel mailing list