|
From: Vampire <Vam...@gm...> - 2010-01-15 18:38:54
|
You can also use XML property files, those were never bound to ISO-8859-1. For putting chinese in .properties files one could also use an editor, or use IntelliJ IDEA that makes a transparent translation between non ISO-8859-1 characters and their escapes, thus having the file with escapes like they have to be but editing them "properly". But I also think the switch to resource bundles for texts would be a good choice. Matthieu Casanova schrieb: > I agree about using a Reader, so we can choose an encoding, and maybe > we could switch to UTF-8 that is better for translation in various > languages > > Matthieu > > 2010/1/14 Marcelo Vanzin <va...@us... > <mailto:va...@us...>> > > On Thu, Jan 14, 2010 at 11:20 AM, Vampire <Vam...@gm... > <mailto:Vam...@gm...>> wrote: > > You know that you have to use ISO-8859-1 encoding for property > files? > > When we choose to support java 1.6 only jEdit should probably start > using Properties.load(Reader) instead of Properties.load(InputStream), > and support UTF-8 property files. That would be good for these kinds > of translations that don't use ISO-8859-1. > > Or start using resource bundles... > > -- > Marcelo Vanzin > mmv...@gm... <mailto:mmv...@gm...> > "Life's too short to drink cheap beer." > > ------------------------------------------------------------------------------ > Throughout its 18-year history, RSA Conference consistently > attracts the > world's best and brightest in the field, creating opportunities > for Conference > attendees to learn about information security's most important > issues through > interactions with peers, luminaries and emerging and established > companies. > http://p.sf.net/sfu/rsaconf-dev2dev > -- > ----------------------------------------------- > jEdit Developers' List > jEd...@li... > <mailto:jEd...@li...> > https://lists.sourceforge.net/lists/listinfo/jedit-devel > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > Throughout its 18-year history, RSA Conference consistently attracts the > world's best and brightest in the field, creating opportunities for Conference > attendees to learn about information security's most important issues through > interactions with peers, luminaries and emerging and established companies. > http://p.sf.net/sfu/rsaconf-dev2dev |