... "Name" with "NAME", we can use StrTran( cEmf, AnsiToWide( "Name" ), AnsiToWide( "NAME" ) ) If we deal with English ( ANSI encoded text ), it is enough to use AnsiToWide, but for utf8 text, we need to convert to utf16le, using fwh functon StrToWide( ...