字符串前面加“L”的含义

L   (converts   following   character   or   string   to   its   Unicode   counterpart)

 

表示转换成宽字符,就是每个字符占用两个字节。  
  例:strlen("asd")   =   3;  
  strlen(L"asd")   =   6;

 

将ANSI字符串转换成unicode的字符串。

你可能感兴趣的:(String,character)