RAD Studio (Common)
ContentsIndex
PreviousUpNext
H2451: Narrowing given WideChar constant (#$%04X) to AnsiChar lost information

An AnsiChar can only represent the first 256 values in a WideChar, so the second byte of the WideChar is lost when converting it to an AnsiChar. You may wish to use WideChar instead of AnsiChar to avoid information loss.

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!