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
|
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Date/Time: Sat Apr 16 13:53:34 CST 2005
Contact: vince@nethacker.com
Report Type: Error Report
Opt Subject:
http://www.unicode.org/Public/PROGRAMS/CVTUTF/ConvertUTF.c
Line: 261
if a UTF16 surrogate pair combines to form a UTF-32 character and the strictConversion flag is set, shouldn't the function halt the conversion and return sourceIllegal? That seems to be the behavior most other places.
Line: 438
if the input containts an invalid UTF-32 character and the strictConversion flag is set, shouldn't the function halt the conversion and return sourceIllegal? That seems to be the behavior most other places.
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
(End of Report)
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Date/Time: Wed Apr 4 09:30:06 CST 2007
Contact: willem.dijkstra@tno.nl
Name: Willem Dijkstra
Report Type: Other Question, Problem, or Feedback
Opt Subject: harness.c
Hello,
I have a question about the harness.c example file at ftp://www.unicode.org/Public/PROGRAMS/CVTUTF/:
- test01 checks the following sequence:
{ 1, 3, { 0xF0, 0x93, 0xB2, 0xA1, 0x00 }}, /* 5 */
- The data should be read as 1 = good sequence, 3 = length of unicode, sequence
Should that 3 be a 4?
Cheers,
Willem
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
(End of Report)
|