> Hi, I want to serialize and write an arraylist to a file, but the
> problem is the strings in the arraylist needs to be encoded in
> "windows-1254".
Uhm, why?
Either you serialize the ArrayList, and then you can't expect anything
of the output except that it can be deserialized again, or you
write the content of the ArrayList in a format of your choice.
....
> The words in the vocArray have some foreign language characters and
> I've problem writing them to a file.
Serialization of strings should not have a problem at all. What
problems do you have?
/L

Signature
Lasse Reichstein Nielsen - lrn@hotpop.com
DHTML Death Colors: <URL:http://www.infimum.dk/HTML/rasterTriangleDOM.html>
'Faith without judgement merely degrades the spirit divine.'
Eren Aykin - 23 Apr 2006 17:43 GMT
Oh! I'm sorry Lasse, as you said I really don't have a problem with
serialization. I just clicked on the serialized vocabulary.txt and saw
those awkward chars and thought that there must be a problem with
encoding.
I wish there was a way to delete my question, I think I need some fresh
air...
Thank you anyway.