xmlrecode.c

来自「HTML-XML-utils由一套小型C程序(过滤器)组成」· C语言 代码 · 共 24 行

C
24
字号
/* * * Program to convert files between ASCII and UTF8, using the * &#-escapes from XML to escape non-ASCII characters. * * Usage: * *   xml2asc * or *   asc2xml * * Both forms read from stdin and write to stdout. The first form * converts from UTF8 (with or without &#-escapes) to ASCII, inserting * &#-escapes for all non-ASCII characters. The second form converts * from ASCII (in fact: Latin-1) (with or without &#-escapes) to UTF8, * removing all &#-escapes, except those representing ASCII * characters. * * If invoked under any other name, the action is the same as xml2asc. * * Version: $Revision: 1.7 $ ($Date: 2000/08/07 12:28:44 $) * Author: Bert Bos <bert@w3.org> * * Copyright 

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?