Re: Is there a class like java.util.Properties?

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Arne Vajhøj <arne@xxxxxxxxxx> wrote:
Jon Skeet [C# MVP] wrote:
I'd suggest making the file UTF-8 rather than
ISO-8859-1 as per Java, however - that way you only need to be able to
escape carriage return, line feed, space etc, rather than \uxxxx as
well.

1.5 can read XML in UTF-8

Yes - bit harder to write by hand though.

and 1.6 can read the key=val format in UTF-8.

Now that I didn't know. Hurrah!

--
Jon Skeet - <skeet@xxxxxxxxx>
http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet
If replying to the group, please do not mail me too
.



Relevant Pages

  • Re: Is there a class like java.util.Properties?
    ... Jon Skeet [C# MVP] wrote: ... ISO-8859-1 as per Java, however - that way you only need to be able to escape carriage return, line feed, space etc, rather than \uxxxx as well. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Simple question
    ... Are there any reasons for doing so? ... in Java if you have a static final value which is of an ... Jon Skeet - ... If replying to the group, please do not mail me too ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Has if () syntax of C# no IN operator like Pascal or SQL (IN, LIKE, BETWEEN)?
    ... Chris Shepherd wrote: ... neither does C nor C++ (I don't know about Java, ... Jon Skeet - ... If replying to the group, please do not mail me too ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: How to determinate a integer odd or even
    ... Jon Skeet - ... If replying to the group, please do not mail me too ... He asked about C#, not Java, Jon;-) (OK, I know you are writing much more ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: IsDaylightSavingTime .NET 1.1 vs 2.0
    ... same thing if you pass the same DateTime into them. ... Java has completely different date/time handling to ... Jon Skeet - ... If replying to the group, please do not mail me too ...
    (microsoft.public.dotnet.languages.csharp)