#7323 closed Bugs (invalid)
Boost.Locale not working with locales. Totally
Reported by: | Owned by: | Artyom Beilis | |
---|---|---|---|
Milestone: | To Be Determined | Component: | locale |
Version: | Boost 1.51.0 | Severity: | Problem |
Keywords: | locale | Cc: |
Description
Boost.Locale not working with locales (on Windows). This part of the library needs a remake.
I attach a sample program with display results. This is a small part that not working.
As you can see the boost locale not doing anything useful.
Attachments (2)
Change History (8)
by , 10 years ago
follow-up: 2 comment:1 by , 10 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
I can only answer RTFM...
Your "example" does nothing useful and you don't understand what Boost.Locale does and does not.
comment:2 by , 10 years ago
Replying to artyom:
I can only answer RTFM...
Your "example" does nothing useful and you don't understand what Boost.Locale does and does not.
I RTFM. Boost.Locale not perform their work. It's not collate. It's not correct displayed.
comment:3 by , 10 years ago
artyom,
Give me a working example for the COLLATE operation through bust.locale with Russian text.
You did not get it done.
comment:4 by , 10 years ago
http://www.boost.org/doc/libs/1_51_0/libs/locale/doc/html/collate_8cpp-example.html
Also I don't what what backend are you using and what compiler
http://www.boost.org/doc/libs/1_51_0/libs/locale/doc/html/using_localization_backends.html
I suggest compile Boost.Locale with ICU.
And read this: http://www.boost.org/doc/libs/1_51_0/libs/locale/doc/html/default_encoding_under_windows.html
And finally do not go with statements that "Nothing works" when you do not understand the basics.
comment:5 by , 10 years ago
Later I produce another example - bad work "to_upper" function (throw debugger, not console output, that may change result).
How do you explain to me this code -
generator gen; std::locale::global(gen("brainfuck"));
Why does this start? Where the generation of exceptions to the wrong locale?
I already read several weeks ago http://www.boost.org/doc/libs/1_51_0/libs/locale/doc/html/default_encoding_under_windows.html This does not me help. Changing Windows console to UTF-8 not help for me.
comment:6 by , 10 years ago
Bug tracker is not a forum...
If you struggle with Boost.Locale ask on Boost.Users mailing list.
Please stop posting comments.
This ticket is closed.
sample program