This proposal outlines a project plan for the migration of the text package from its current default encoding (UTF-16) to a new default of UTF-8.
The lack of UTF-8 as a default in the text package is a pain point raised by the Haskell Community and many of our industry partners for many years. We have done our homework in soliciting feedback from the broader community and industry, and have received positive affirmation of the following with regards to the proposal:
- This is desirable: Overwhelmingly, the community was positive on such a change, and industry was the same.
- There is an appetite for breakage: neither the community nor the people we spoke to in industry were concerned about the cost of migration or breakage, though, as a deliverable, we will make sure to minimize the cost of migration by reusing the text package name, and providing alternatives in the case that users require UTF-16 text.
- The text maintainers are on board: All text maintainers currently support this effort, and will be reviewers and support for the project leader throughout the course of the project.
You can view the proposal here: https://github.com/haskellfoundation/tech-proposals/pull/1