Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How I can decode TIdMessage from koi8-r to windows-1251?
#5
Remy, thanks for advice.

Quote:Make sure #include <IdHeaderCoderIndy.hpp> is the last header seen by the compiler.

In main project it is impossible, includes are a lot.

Quote:Or use only #include <IdAllHeaderCoders.hpp> instead.

No effect both test and main project.

Quote:Or manually unregister and re-register the coder classes in the desired order at runtime using the UnregisterHeaderCoder() and RegisterHeaderCoder() functions declared in IdHeaderCoderBase.hpp.

Seems it's the best idea.
Couldn't you give an example how to call them from C++ builder?

Regars,  Sergey
Reply


Messages In This Thread
RE: How I can decode TIdMessage from koi8-r to windows-1251? - by SergJP - 08-31-2018, 11:00 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)