Re:[boost] Re: Multiple files utf8_codecvt_facet.cpp

Tilman Kuepper
I'm jumping in, because I am interested in Unicode conversion facets...
is there a reason why both program_options and serialization contain very similar files utf8_codecvt_facet.cpp?
We really, really need utf-8 facets to be part of boost. I've been pleased with Ron Garcia's that have been included in both the serialization and program options libraries. The only problems we've had is working through the fact that there is a lot of variation in which namespaces different libraries have put things. There were a couple of similar issues regarding function signatures as well. Ron's library also had a nice documentation page. All I had to do was write a test - even that was a hassle and its still not totally satisfactory - it gives bogus warnings. I've thought about Dave's suggestion about each of incorporating source code from a common spot. I was resolved to go along as I'm pleased to off load a stick but peripheral(to me) piece of code. Now I'm rethinking this and am not convinced that it's a good idea. I would like to a) make an "official" spot for it header/lib/ etc. b) move Ron's library into that spot. It's quite serviceable c) entertain "applications" for maintainers. Presumable it would be improved, and/or replaced with time. d) subject the next version to a review. This library has been looked at by various people and although several have offered ideas on how it can be improved - no one has found that it is lacking in the implementation as to what it does. And we need it now. Ron Garcia - Are you out there? Anything to add? Robert Ramey

Robert Ramey wrote:
It can be first put into detail and then revieved -- what's problem with it. The real reason why I'd like to include it is that when utf becomes real library, we'll have the first precedent in the Boost where one compiled library depends on another compiled library, and we need to decide what to do in this case. On windows, autolinking might help. Shared linking will help too. But we need to decide on complete solution -- and that's not something I'd like to do now (when I have less than two weeks before vacation ;-) ). - Volodya

Vladimir Prus <ghost@cs.msu.su> writes:
Yes, that is the correct and traditional procedure. There's no reason to change it.
Yes, and it's very late in the release cycle. -- Dave Abrahams Boost Consulting http://www.boost-consulting.com

Hi,
We really, really need utf-8 facets to be part of boost.
That's all I wanted to say... ;-) And it has nothing to do with the current release cycle.
I like this idea. The library would become more "visible". I just didn't notice it, because I am not using serialization and/or program_options in my projects... Best regards from Aachen, Tilman
participants (4)
-
David Abrahams
-
Robert Ramey
-
Tilman Kuepper
-
Vladimir Prus