I'm running a Dart web server, with Dart on the client side as well. The web data is saved in files and in a Postgres database.
Since dartlang is UTF-16 (because Webkit strings are UTF-16), does it make sense to go to UTF-16 whole hog? That is, instead of default UTF-8, make the following native UTF-16:
- files (web pages)
- database (web data)
- HTML encoding
It seems there would be a small hit on data transfer, but at the same time more efficient in the server and browser, and there would be less of a chance for accidental screw-ups.