author-tools icon indicating copy to clipboard operation
author-tools copied to clipboard

iddifff: Provide better error messages when there are format issues

Open kesara opened this issue 4 months ago • 0 comments

Description

When DOS format text files with (UTF-8 code points) are provided, author tools provide the following error message: TypeError: Node.appendChild: Argument 1 is not an object.

This is caused by awk in rfcdiff:

'usr/bin/awk: towc: multibyte conversion failure on: '�s operating temperature.

 input record number 298, file /tmp/rfcdiff-76592/2/draft-ietf-tvr-use-cases-07.txt
 source line number 2
cmp: EOF on 2/draft-ietf-tvr-use-cases-07.txt after byte 12250

Author Tools should provide a better error message when this occurs.

Code of Conduct

kesara avatar Feb 29 '24 23:02 kesara