Reagan Moore wrote:
> Mike:
> I am curious what Academia Sinica did to display chinese characters?
for the icommands, I think they have extended them with encoding conversion.
cheers,
JY
> One of our users has a file named �7�9AQV��\x12�\u0084|�^3�\x05. (Don't
> ask me why.) When I use .getDataObjectsUnderPath to get the contents of the
> the parent directory, the file comes across as ?7?9AQV???|?^3?, where each ? is
> the character 65533 in UTF-16. Using ils, displays the file name correctly, so
> I assume the encoding error is occurring in Jargon.
>
> The insight Tony had on Friday was:
>
>> I looked some more into this. From iROD-Chat:9519, I gathered that
>> by default iRODS uses the LATIN1 character set, AKA ISO-8859-1. I
>> changed the Jargon to use ISO-8859-1, and it can now list the file
>> correctly as �7�9AQV��ׄ|�^3�.
>>
>> I'm going to recommend that we recompile our iRODS to use UTF-8 as
>> its character set, but you might want to change Jargon to use
>> ISO-8859-1 by default.
>
>
> Wayne indicated:
>
> I also remember working with the encoding and finding that LATIN1
> worked best for something or other for the core. I think there was an
> issue with the ODBC interface to Postgres. But with that, we got the
> i-commands, the server and postgres reasonably happy and I think it
> solved something for someone.
>
>
> *So in summary, there's a current delta between Jargon (and probably
> most clients, and default web/RDF) between UTF-* and Latin1. Options:*
> *
> *
>
> 1. *complete the process of making char set enabled via
> jargon.properties setting (that needed just a bit more effort).
> Set to UTF-8 or Latin1 and allow users to override*
> 2. *do a potential bit of core server work to pass the iRODS char set
> in the miscserverinfo response, and *
> 1. *set the jargon char set to same*
> 2. *not reset it but give warnings in the log*
> 3. *just leave at UTF-8*
> 4. *set the jargon default to latin1*
>
>
>
> thoughts? implications?
>
> MC
>
>
>
>
>
> Mike Conway
> DICE Center
> Jargon, Java, Interface Developer
>
michael...@unc.edu <mailto:
michael...@unc.edu>
>
> ------------------------------------------------
>
> Google voice/video:
Michael....@gmail.com
> <mailto:
Michael....@gmail.com>
>
> Skype: michael.c.conway
>
>
>
>
>
> --
> --
> "iRODS: the Integrated Rule-Oriented Data-management System; A
> community driven, open source, data grid software solution"
>
https://www.irods.org
>
> iROD-Chat:
http://groups.google.com/group/iROD-Chat
>
> ---
> You received this message because you are subscribed to the Google
> Groups "iROD-Chat" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to
irod-chat+...@googlegroups.com
> <mailto:
irod-chat+...@googlegroups.com>.