Hello.

Actually, SJ already supports non-ascii character sets. All you have to do is 
set up your config
files to define the character set you want SJ to use for XML and text files.

This is explained in the FAQ document here:

http://www.sourcejammer.org/psjs_faqs/08282386.html

****
SourceJammer does not seem to handle non-US English characters properly. 
Characters such as
accented vowels are often corrupted both in file/folder names and when the 
occur in text files. Is
there a way to fix this?

Yes. This is very easy to fix. Hopefully I'll provide better documentation for 
this feature soon.

Locate the file conf.xml on your SJ server and your SJ client. Open and edit 
this file. Add the
following node to the XML within the root node. If the nodes already exist, 
modify them
accordingly:

<TextEncodingCharset>ISO-8859-1</TextEncodingCharset>
<XMLEncodingCharset>ISO-8859-1</XMLEncodingCharset>

This tells SourceJammer to use the ISO-8859-1 character set. This character set 
should manage
non-US English characters properly. 
****

--Rob

PS: SJ uses UTF 8 by default. And you can actually specify any charset you 
want, not just
ISO-885901.

--- "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:

> robertmacgrogan£¬hello£¡
> 
>       I don't know if you have test the condition that 
> a text(e.g .txt) is encoding in gb2312, utf8, or other nonascii,
> if so, sourcejammer will convert all byte >7F into 3f(?)
> but if the source file is a .doc it can work well, because
> .doc is regarded as binary, but if my .java or .c code 
> contain chinese or japanese comment, when this file is 
> added to server, all the chinese or japanese comment become
> ??????(3f).
>       I want extend sourcejammer to support nonascii charactors
> in text file. But I'm not sure where sourcejammer get text file
> form client and save the text file. I think modify there for
> nonascii charator support, it should work well, can you give
> me sove suggestion.
> ¡¡
> ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡Swin
> [EMAIL PROTECTED]
> ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡2005-01-04
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
SourceJammer-users mailing list
SourceJammer-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sourcejammer-users

Reply via email to