Click here to Skip to main content
16,011,804 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralVery weird problem... Pin
Sprudling7-Feb-02 14:32
Sprudling7-Feb-02 14:32 
GeneralRe: Very weird problem... Pin
Rick York7-Feb-02 15:14
mveRick York7-Feb-02 15:14 
GeneralRe: Very weird problem... Pin
Sprudling7-Feb-02 15:40
Sprudling7-Feb-02 15:40 
GeneralRe: Very weird problem... Pin
Rick York7-Feb-02 16:12
mveRick York7-Feb-02 16:12 
GeneralRe: Very weird problem... Pin
Nish Nishant7-Feb-02 16:23
sitebuilderNish Nishant7-Feb-02 16:23 
GeneralRe: Very weird problem... Pin
Sprudling7-Feb-02 16:29
Sprudling7-Feb-02 16:29 
GeneralRe: Very weird problem... Pin
Nish Nishant7-Feb-02 16:33
sitebuilderNish Nishant7-Feb-02 16:33 
General"Problem" solved :) Pin
Sprudling7-Feb-02 17:21
Sprudling7-Feb-02 17:21 
The extension doesn't matter. I can rename the file to whatever I want, and it shows the same chinese signs. Anyway, I think I've figured out why this happens how. Then the WinXP parses a file it tries to find out if it's ASCII or Unicode.

An experiment:
- Create a new .txt file in Notepad, enter "Sprudling", and save it as usual.
- Open the file in an hexeditor and insert 2 bytes in front og "Sprudling".
- Set the 2 bytes to FFFE, and save the file again.
- Now open it again in Notepad.

It's now shown in unicode as "灓畲汤湩", which is 4 chinese letters for those who actually have installed those letters. I guess Notepad is more than you thought... :]

Sprudling Smile | :)
GeneralRe: "Problem" solved :) Pin
Nish Nishant7-Feb-02 17:27
sitebuilderNish Nishant7-Feb-02 17:27 
GeneralRe: Very weird problem... Pin
Tim Smith7-Feb-02 16:42
Tim Smith7-Feb-02 16:42 
GeneralRe: Very weird problem... Pin
Nish Nishant7-Feb-02 16:49
sitebuilderNish Nishant7-Feb-02 16:49 
GeneralRe: Very weird problem... Pin
Tim Smith7-Feb-02 16:50
Tim Smith7-Feb-02 16:50 
GeneralRe: Very weird problem... Pin
Nish Nishant7-Feb-02 17:01
sitebuilderNish Nishant7-Feb-02 17:01 
GeneralRe: Very weird problem... Pin
Tim Smith7-Feb-02 17:01
Tim Smith7-Feb-02 17:01 
GeneralRe: Very weird problem... Pin
Nish Nishant7-Feb-02 17:25
sitebuilderNish Nishant7-Feb-02 17:25 
GeneralRe: Very weird problem... Pin
Sprudling7-Feb-02 17:30
Sprudling7-Feb-02 17:30 
GeneralRe: Very weird problem... Pin
Nish Nishant7-Feb-02 18:12
sitebuilderNish Nishant7-Feb-02 18:12 
GeneralRe: Very weird problem... (just a comment) Pin
moliate8-Feb-02 0:49
moliate8-Feb-02 0:49 
GeneralMFC/Web Services Pin
Dejan Petrovic7-Feb-02 14:27
Dejan Petrovic7-Feb-02 14:27 
QuestionHow much memory am I really using Pin
Bill Wilson7-Feb-02 12:24
Bill Wilson7-Feb-02 12:24 
AnswerRe: How much memory am I really using Pin
Tim Smith7-Feb-02 13:22
Tim Smith7-Feb-02 13:22 
GeneralRe: How much memory am I really using Pin
Bill Wilson7-Feb-02 13:29
Bill Wilson7-Feb-02 13:29 
GeneralCListCtrl into ClistView !!! Pin
7-Feb-02 11:45
suss7-Feb-02 11:45 
GeneralRe: CListCtrl into ClistView !!! Pin
Michael Dunn7-Feb-02 12:09
sitebuilderMichael Dunn7-Feb-02 12:09 
GeneralRe: CListCtrl into ClistView !!! Pin
8-Feb-02 8:38
suss8-Feb-02 8:38 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.