C++ project type: unicode vs multi-byte; pros and cons

后端 未结 6 1997
栀梦
栀梦 2020-12-14 00:16

I\'m wondering what the Stack Overflow community thinks when it comes to creating a project (thinking primarily c++ here) with a unicode or a multi-byte character set.

6条回答
  •  时光说笑
    2020-12-14 01:10

    The short answer (IMO, and I've been proving wrong) is that it'd better to plan for the worse (or best depending on your point of view) and do unicode right now.

    Unless your application is very string intensive, then going directly to unicode will not really matter; in the case of games, it should not be a big factor compared to the rest of the engine.

    Max.

提交回复
热议问题