then the question is where is that crypt really used for?
For moving files? I don't think so, but it is used for encoding urls
And what does that mean when we are transforming to bytes using utf8?


Janne Hietamäki wrote:

Juergen Donnerstag wrote:

I'm not sure, why it is better use utf-8 instead of the OS default.

That's because most production environments are run on different OS:s than the development environment, and so also the default encodings can differ. Depending of the default encoding simply breaks too much stuff when moving files between environments.

A
reason why the OS default could be better is because many text editors
save the file with OS encoding (xml files with <?xml?> are an
exception). In case you don't have any hint which encoding was used,
the assumption that it was the OS value, IMO it is a valid assumption.
Always when you can not know the encoding of the file, there is a potentially millions of tricky encoding bugs. It's so much simpler to use utf-8 everywhere than twist with default encodings. Specially when moving files between os:s. When everything is in utf-8, you don't have to guess.

Hmm, but utf-8 is default for xml, isn't it. That basically means, you
can not use a simple text editor to create a xml file, because e.g.
german umlaute are represented differently in utf-9 and iso8859-1.
Yes, and that's a good thing. It's year 2005, and there is no really any reason to use iso8859-1 anymore.

Janne



-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP,
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
_______________________________________________
Wicket-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-develop



-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP,
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
_______________________________________________
Wicket-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-develop

Reply via email to