Click here to Skip to main content
15,888,113 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to Use ODBC API for SQLFetchScroll. Pin
Niklas L15-Feb-11 2:51
Niklas L15-Feb-11 2:51 
QuestionMenu in ChildWindow Pin
Anu_Bala15-Feb-11 0:14
Anu_Bala15-Feb-11 0:14 
QuestionHow do I recalculated the checksum in the bookmarks file of chrome after changing it manually? Pin
yogish29314-Feb-11 23:52
yogish29314-Feb-11 23:52 
AnswerRe: How do I recalculated the checksum in the bookmarks file of chrome after changing it manually? Pin
Andrew Brock15-Feb-11 1:41
Andrew Brock15-Feb-11 1:41 
QuestionUnicode, Unicode Big Endian or UTF-8? What is the difference? Which format is better to write a text file? Pin
Le@rner14-Feb-11 23:35
Le@rner14-Feb-11 23:35 
AnswerRe: Unicode, Unicode Big Endian or UTF-8? What is the difference? Which format is better to write a text file? Pin
_AnsHUMAN_ 15-Feb-11 1:08
_AnsHUMAN_ 15-Feb-11 1:08 
AnswerRe: Unicode, Unicode Big Endian or UTF-8? What is the difference? Which format is better to write a text file? Pin
ShilpiP15-Feb-11 1:11
ShilpiP15-Feb-11 1:11 
GeneralRe: Unicode, Unicode Big Endian or UTF-8? What is the difference? Which format is better to write a text file? Pin
jschell15-Feb-11 7:55
jschell15-Feb-11 7:55 
Shilpi Boosar wrote:
What i know is Unicode is UTF-16 and it is of two types big-endian and little-endian.


Unicode basically is an enumeration of characters in many languages.

Character sets are representations using bytes of most (only most these days) of all of the characters in the total enumeration.

UTF16 is a short hand to refer to a character set that represents each code point (often but not always a single character) as 16 bits.

Big endian and little endian is a separate issue which involves when a computer system represents a single multi-byte value with the most significant byte first or last. This can apply to numerics as well as character representations.


Shilpi Boosar wrote:
I think you already know the DOM character. You have to write this DOM character at first and than your data, so that your file is automatically saved in UTF-8 or Unicode format.


The Byte Order Mark or BOM is an optional part of a character file/stream. It does not determine the make up of the character set used after that, but a processor can use it to determine how to correctly consume the source.

However some processors will not read the BOM at all so one must test with it to insure it works.

Shilpi Boosar wrote:
I use the UTF-8 format because Java client use my text file and it only support UTF-8 not unicode.


Incorrect.

UTF8 is as valid as a unicode character set as any other unicode character set.
GeneralRe: Unicode, Unicode Big Endian or UTF-8? What is the difference? Which format is better to write a text file? Pin
ShilpiP15-Feb-11 17:41
ShilpiP15-Feb-11 17:41 
GeneralRe: Unicode, Unicode Big Endian or UTF-8? What is the difference? Which format is better to write a text file? Pin
jschell16-Feb-11 9:02
jschell16-Feb-11 9:02 
GeneralRe: Unicode, Unicode Big Endian or UTF-8? What is the difference? Which format is better to write a text file? Pin
ShilpiP16-Feb-11 19:03
ShilpiP16-Feb-11 19:03 
GeneralRe: Unicode, Unicode Big Endian or UTF-8? What is the difference? Which format is better to write a text file? Pin
jschell17-Feb-11 8:23
jschell17-Feb-11 8:23 
AnswerRe: Unicode, Unicode Big Endian or UTF-8? What is the difference? Which format is better to write a text file? Pin
Nemanja Trifunovic15-Feb-11 7:47
Nemanja Trifunovic15-Feb-11 7:47 
QuestionMFC Rich Edit Control Pin
kamaljagesia14-Feb-11 23:34
kamaljagesia14-Feb-11 23:34 
AnswerRe: MFC Rich Edit Control Pin
Andrew Brock15-Feb-11 2:14
Andrew Brock15-Feb-11 2:14 
AnswerRe: MFC Rich Edit Control Pin
Richard MacCutchan15-Feb-11 2:15
mveRichard MacCutchan15-Feb-11 2:15 
Questionconvert Cpoint to CRect Pin
sarfaraznawaz14-Feb-11 20:22
sarfaraznawaz14-Feb-11 20:22 
AnswerRe: convert Cpoint to CRect PinPopular
Cedric Moonen14-Feb-11 20:28
Cedric Moonen14-Feb-11 20:28 
GeneralRe: convert Cpoint to CRect Pin
sarfaraznawaz15-Feb-11 21:48
sarfaraznawaz15-Feb-11 21:48 
AnswerRe: convert Cpoint to CRect Pin
patelmayur31-May-11 3:09
patelmayur31-May-11 3:09 
QuestionStrings [SOLVED] Pin
goldenrose914-Feb-11 19:24
goldenrose914-Feb-11 19:24 
AnswerRe: Strings Pin
ShilpiP14-Feb-11 19:53
ShilpiP14-Feb-11 19:53 
GeneralRe: Strings Pin
goldenrose914-Feb-11 21:59
goldenrose914-Feb-11 21:59 
GeneralRe: Strings Pin
ShilpiP14-Feb-11 22:15
ShilpiP14-Feb-11 22:15 
GeneralRe: Strings Pin
goldenrose914-Feb-11 23:26
goldenrose914-Feb-11 23:26 

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.