Discussion:
a4q1 UTF-8
(too old to reply)
Zikun Xu
2011-06-28 11:23:08 UTC
Permalink
I run the executable program and got the following output, which is
different from the expected output in a04 PDF file,
0x30 : valid value 0x30 Extra characters 0x7832332c
0x30 : valid value 0x30 Extra characters 0x7832332c20307832332c
0x30 : valid value 0x30 Extra characters 0x7864372c20307839302c
0x30 : valid value 0x30 Extra characters 0x7864372c
0x30 : valid value 0x30 Extra characters 0x7863322c20307841332c
: Warning! Blank line.
0x30 : valid value 0x30 Extra characters 0x7862302c
0x30 : valid value 0x30 Extra characters 0x7865302c20307865332c
0x30 : valid value 0x30 Extra characters
0x7865392c20307838302c20307838302c
0x30 : valid value 0x30 Extra characters
0x7865392c20307838302c20307838302c20307866662c20307866382c
0x30 : valid value 0x30 Extra characters
0x7865302c20307839332c20307839302c
0x30 : valid value 0x30 Extra characters
0x7866662c20307839412c20307838342c
0x30 : valid value 0x30 Extra characters
0x7866302c20307839302c20307838392c
0x30 : valid value 0x30 Extra characters
0x7866302c20307839302c20307838392c20307838302c
0x30 : valid value 0x30 Extra characters 0x7830312c
I am skeptical that there is something wrong with the executable
program.
Jeremy Roman
2011-06-28 12:57:07 UTC
Permalink
Post by Zikun Xu
I run the executable program and got the following output, which is
different from the expected output in a04 PDF file,
0x30 : valid value 0x30 Extra characters 0x7832332c
0x30 : valid value 0x30 Extra characters 0x7832332c20307832332c
0x30 : valid value 0x30 Extra characters 0x7864372c20307839302c
0x30 : valid value 0x30 Extra characters 0x7864372c
0x30 : valid value 0x30 Extra characters 0x7863322c20307841332c
: Warning! Blank line.
0x30 : valid value 0x30 Extra characters 0x7862302c
0x30 : valid value 0x30 Extra characters 0x7865302c20307865332c
0x30 : valid value 0x30 Extra characters
0x7865392c20307838302c20307838302c
0x30 : valid value 0x30 Extra characters
0x7865392c20307838302c20307838302c20307866662c20307866382c
0x30 : valid value 0x30 Extra characters
0x7865302c20307839332c20307839302c
0x30 : valid value 0x30 Extra characters
0x7866662c20307839412c20307838342c
0x30 : valid value 0x30 Extra characters
0x7866302c20307839302c20307838392c
0x30 : valid value 0x30 Extra characters
0x7866302c20307839302c20307838392c20307838302c
0x30 : valid value 0x30 Extra characters 0x7830312c
I am skeptical that there is something wrong with the executable
program.
It looks like you are using genutf8.cc itself as input; it is a program
that you should compile and run. When run, it will generate some UTF-8
characters which represent the sample input.
--
Jeremy Roman
Student, Computer Science
University of Waterloo
Loading...