%s is Unicode, %a is ASCII. So %s is CHAR16.
Sent from my iPhone > On Jul 7, 2014, at 9:51 PM, WANG Siyuan <[email protected]> wrote: > > Hi, > I want to print a string by DEBUG: > > const char *testc = "1234567890"; > DEBUG ((EFI_D_INFO , "test string: %s\n", testc)); > > I got this output: > test string: 13579 > > How to print string using DEBUG? > > Thanks, > WANG Siyuan > > ------------------------------------------------------------------------------ > Open source business process management suite built on Java and Eclipse > Turn processes into business applications with Bonita BPM Community Edition > Quickly connect people, data, and systems into organized workflows > Winner of BOSSIE, CODIE, OW2 and Gartner awards > http://p.sf.net/sfu/Bonitasoft > _______________________________________________ > edk2-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/edk2-devel ------------------------------------------------------------------------------ Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft _______________________________________________ edk2-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/edk2-devel
