Skip to content

Commit b034572

Browse files
committed
utf8.h: Add comment
1 parent 9eea297 commit b034572

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

utf8.h

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,12 @@
2323
* which differs from UTF-8 only in a few details. It is often useful to
2424
* translate UTF-EBCDIC into this form for processing. In general, macros and
2525
* functions that are expecting their inputs to be either in I8 or UTF-8 are
26-
* named UTF_foo (without an '8'), to indicate this.
26+
* named UTF_foo (without an '8'), to indicate this. khw thinks it would be
27+
* clearer if these were renamed to be I8, because UTF is the prefix for UTF16,
28+
* U32, etc., and we use it only for 8 bit quantities; though on ASCII machines
29+
* these are final, not intermediate, values. U8 would be more accurate, but
30+
* bears too much resemblence to the ubiquitous U8 declaration. 'I8' stands
31+
* out as very different from 'UTFn'.
2732
*
2833
* Unfortunately there are inconsistencies.
2934
*

0 commit comments

Comments
 (0)