I mean - this is simple code but I'm not very familiar with wchar_t because it doesnt work
I checked and rechecked questions.txt file, even removed it and created again (under windows, before that I had file created under linux). As I remember i worked under Linux.
On this computer I have winXP pro.
Part of code cout<<buffer<<endl; shows text properly on the console.
oh, I forgot to mention what the problem is, after all
of course, any text taken from text file is not displayed properly in GUI.
Instead I can see... eh, something with very wrong codepage (like trying to display korean utf16 text as ascii iso-8859-2 for example).
please, at least post some links with desent documentation about wchar_t (humanum no-grande-expertum readable;) )
thanks, I'll try it as soon as I switch to win again. Right now debugin under lin, killing bugs
text works here OK (?) without making any changes - is something wrong with utf under win or my code is working here - under X - by accident?
ehhh, of course I used swprintf originaly - this was just a typing error in my post. So problem remain - but I'm closer to solve it by my self.
Btw. I am VERY confused about swprintf function and it's different mutations.
When I jumped to dev-CPP from Kdevelop, compiler seems to understand and compile what I already have done, but in new added files/classes it only "understand" some non standard (m$?) form (without second int argument). That is probably again my fault of misunderstanding or lack of knowledge, but this time it really looks like compiler is a woman - and can't make her mind what to compile or not.
ow. I just remembered that i was meaning to post this in order to save some coders from the terrible migraine that only Window$ libraries can inflict upon you
I couldn't find decend documentation about this type of differences, so I had to... almost guess the solution (with a little help from google and tips in devC++).
Just wonder if there's more catches like that one?