XML Output: libxo - provide single API to output TXT, XML, JSON and HTML
Garance A Drosehn
drosih at rpi.edu
Wed Jul 30 03:41:39 UTC 2014
On 29 Jul 2014, at 23:19, Garance A Drosehn wrote:
>
> In any case, I am interested to see how the GSOC project works out, or
> whatever happens with this libxo project.
I also wanted to highlight an issue that Simon brought up in the initial
message for this thread:
"The main open issue (assuming this functionality is still desired)
is support of wide characters.
We figure the worst case solution is a sed(1) script to generate
the wide version of the API from the normal one, but perhaps simply
always using UTF8 would be a better solution?"
In my own experiments I've pretended that all the output 'lpq' generates
is simple ascii, although that's not necessarily true. The filename
field is set by whatever generated the output, which might be a PC or Mac
which may or may not be unicode-aware. The field might be gibberish (aka
"invalid unicode"). Obviously "pretending" is the wrong way to handle
this issue.
--
Garance Alistair Drosehn = drosih at rpi.edu
Senior Systems Programmer or gad at FreeBSD.org
Rensselaer Polytechnic Institute; Troy, NY; USA
More information about the freebsd-arch
mailing list