chandan
26th May 2010, 11:46
Hi Everyone,
I want to use Unicode in my source code. I am generating a database randomly and for that I am using the following code;
#define COUNT (20)
char* ppcFirstNames[COUNT] = {"কফজগà§à¦²à¦¸à§ ক","কফজগà§à¦²à¦¸à§ ক","কফজগà§à¦²à¦¸à§ ক","কফজগà§à¦²à¦¸à§ ক","কফজগà§à¦²à¦¸à§ ক",
"কফজগà§à¦²à¦¸à§ ক","কফজগà§à¦²à¦¸à§ ক","কফজগà§à¦²à¦¸à§ ক","কফজগà§à¦²à¦¸à§ ক","কফজগà§à¦²à¦¸à§ ক",
"কফজগà§à¦²à¦¸à§ ক","কফজগà§à¦²à¦¸à§ ক","কফজগà§à¦²à¦¸à§ ক","কফজগà§à¦²à¦¸à§ ক","কফজগà§à¦²à¦¸à§ ক",
"কফজগà§à¦²à¦¸à§ ক","কফজগà§à¦²à¦¸à§ ক","কফজগà§à¦²à¦¸à§ ক","কফজগà§à¦²à¦¸à§ ক","কফজগà§à¦²à¦¸à§ ক"};
But when I am trying this it gives me the following warning and it stores some funny characters in my database;
warning C4566: character represented by universal-character-name '\u09CD' cannot be represented in the current code page (1252)
Any help will be appreciated.
Thanks in advance.
Chandan
I want to use Unicode in my source code. I am generating a database randomly and for that I am using the following code;
#define COUNT (20)
char* ppcFirstNames[COUNT] = {"কফজগà§à¦²à¦¸à§ ক","কফজগà§à¦²à¦¸à§ ক","কফজগà§à¦²à¦¸à§ ক","কফজগà§à¦²à¦¸à§ ক","কফজগà§à¦²à¦¸à§ ক",
"কফজগà§à¦²à¦¸à§ ক","কফজগà§à¦²à¦¸à§ ক","কফজগà§à¦²à¦¸à§ ক","কফজগà§à¦²à¦¸à§ ক","কফজগà§à¦²à¦¸à§ ক",
"কফজগà§à¦²à¦¸à§ ক","কফজগà§à¦²à¦¸à§ ক","কফজগà§à¦²à¦¸à§ ক","কফজগà§à¦²à¦¸à§ ক","কফজগà§à¦²à¦¸à§ ক",
"কফজগà§à¦²à¦¸à§ ক","কফজগà§à¦²à¦¸à§ ক","কফজগà§à¦²à¦¸à§ ক","কফজগà§à¦²à¦¸à§ ক","কফজগà§à¦²à¦¸à§ ক"};
But when I am trying this it gives me the following warning and it stores some funny characters in my database;
warning C4566: character represented by universal-character-name '\u09CD' cannot be represented in the current code page (1252)
Any help will be appreciated.
Thanks in advance.
Chandan