resource bundle history?

anyone have references on the "history" of resource bundles? when were they introduced? why do they use escaped unicode instead of utf-8? blah blah blah.thanks.
[174 byte] By [PaulJHa] at [2007-10-2 16:34:33]
# 1
From the API documentation for the ResourceBundle class:"Since: JDK1.1"A properties-based ResourceBundle class uses properties files, so that's why they use ISO-8859-1with escaping rules.
DrClapa at 2007-7-13 17:39:43 > top of Java-index,Desktop,I18N...
# 2

Resource bundles as java classes is fine.

Requirement is compiling with encoding UTF-8, which should be no problem.

I've added an example to inspect.

But probably you know.

I only know, that UTF-8 was cumbersome, no platform (like linux) with UTF-8 as locale;

editors didn't cope with UTF-8. Mind that then java sources where be default compiled with the platform encoding to the unicode class file. Properties where not compiled, so the default encoding was out of the question.

Today one maybe would start with UTF-8 right away, but I find the history understandable.

package com.sun.tools.doclets.internal.toolkit.resources;

public final class doclets extends java.util.ListResourceBundle {

protected final Object[][] getContents() {

final Object[][] contents = {

{ "doclet.All_Classes", "Ĉiuj Klasoj" },

{ "doclet.All_Implemented_Interfaces", "Ĉiuj Implementitaj Interfacoj:" },

{ "doclet.All_Superinterfaces", "Ĉiuj Superinterfacoj:" },

{ "doclet.All_classes_and_interfaces", "Ĉiuj klasoj kaj interfacoj (escepte de ne-stataj ingitaj tipoj)" },

{ "doclet.AnnotationType", "Prinota Tipo" },

{ "doclet.Annotation_Types_Summary", "Resumo de Prinotaj Tipoj" },

{ "doclet.Author", "Aŭtoro:" },

{ "doclet.Enum_Summary", "Enumeracia Resumo" },

{ "doclet.Enums", "Enumeracioj" },

{ "doclet.Error", "Eraro" },

{ "doclet.Error_Summary", "Erara Resumo" },

{ "doclet.Errors", "Eraroj" },

{ "doclet.Exception", "Escepto" },

{ "doclet.Exception_Summary", "Escepta Resumo" },

{ "doclet.Exceptions", "Esceptoj" },

{ "doclet.Externalizable", "Eksternigebla" },

};

return contents;

}

}

joop_eggena at 2007-7-13 17:39:43 > top of Java-index,Desktop,I18N...