Click here to Skip to main content
15,900,461 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionUnicode to Hex conversion Pin
msn9228-Aug-09 21:44
msn9228-Aug-09 21:44 
AnswerRe: Unicode to Hex conversion Pin
MANISH RASTOGI28-Aug-09 22:57
MANISH RASTOGI28-Aug-09 22:57 
GeneralRe: Unicode to Hex conversion Pin
msn9229-Aug-09 8:43
msn9229-Aug-09 8:43 
QuestionRe: Unicode to Hex conversion Pin
CPallini29-Aug-09 9:41
mveCPallini29-Aug-09 9:41 
AnswerRe: Unicode to Hex conversion Pin
msn9229-Aug-09 10:07
msn9229-Aug-09 10:07 
GeneralRe: Unicode to Hex conversion Pin
David Crow29-Aug-09 11:17
David Crow29-Aug-09 11:17 
GeneralRe: Unicode to Hex conversion Pin
CPallini29-Aug-09 11:53
mveCPallini29-Aug-09 11:53 
GeneralRe: Unicode to Hex conversion Pin
msn9229-Aug-09 12:43
msn9229-Aug-09 12:43 
CPallini, thank you for your reply.

I have a web form that I need to submit programmatically and data should be in unicode.
When I submit that web form using Firefox with the text символ, this is what Firefox is sending to the server:
%F1%E8%EC%E2%EE%EB

And I'm trying to send the same thing programmatically.

So if символ = %F1%E8%EC%E2%EE%EB is wrong, why Firefox is sending it like that?
Is it because of charset=WINDOWS-1251 in the source code of the web page:
<head>
 <meta http-equiv="Content-Type" content="text/html; charset=WINDOWS-1251" />
</head>
<body>
 <form action="i.php" method="POST">
  <input type="text" name="txt" />
  <input type="submit" value="Submit" />
 </form>
</body>

What should I do to convert to the same hex format Firefox is using?

Please let me know, if I'm not clear enough.
GeneralRe: Unicode to Hex conversion [modified] Pin
msn9229-Aug-09 19:22
msn9229-Aug-09 19:22 
QuestionWhat is the maximum value of character of LPCWSTR lpCommandLine, for CeCreateProcess. Pin
Le@rner28-Aug-09 21:12
Le@rner28-Aug-09 21:12 
AnswerRe: What is the maximum value of character of LPCWSTR lpCommandLine, for CeCreateProcess. Pin
Rajesh R Subramanian28-Aug-09 21:48
professionalRajesh R Subramanian28-Aug-09 21:48 
AnswerRe: What is the maximum value of character of LPCWSTR lpCommandLine, for CeCreateProcess. Pin
Hristo-Bojilov29-Aug-09 0:04
Hristo-Bojilov29-Aug-09 0:04 
QuestionShow local html file Pin
includeh1028-Aug-09 20:25
includeh1028-Aug-09 20:25 
AnswerRe: Show local html file Pin
kilt3-Sep-09 4:43
kilt3-Sep-09 4:43 
GeneralRe: Show local html file Pin
David Crow14-Sep-09 4:00
David Crow14-Sep-09 4:00 
QuestionWhat the Message for Update UI on DialogBase App? Pin
Max++28-Aug-09 20:22
Max++28-Aug-09 20:22 
AnswerRe: What the Message for Update UI on DialogBase App? Pin
Rajesh R Subramanian28-Aug-09 20:37
professionalRajesh R Subramanian28-Aug-09 20:37 
GeneralRe: What the Message for Update UI on DialogBase App? Pin
Max++28-Aug-09 21:47
Max++28-Aug-09 21:47 
AnswerRe: What the Message for Update UI on DialogBase App? Pin
Rajesh R Subramanian28-Aug-09 21:50
professionalRajesh R Subramanian28-Aug-09 21:50 
GeneralRe: What the Message for Update UI on DialogBase App? Pin
Max++28-Aug-09 22:21
Max++28-Aug-09 22:21 
GeneralRe: What the Message for Update UI on DialogBase App? Pin
Moak29-Aug-09 0:09
Moak29-Aug-09 0:09 
QuestionIOCP memory question Pin
lcx31563382028-Aug-09 19:09
lcx31563382028-Aug-09 19:09 
AnswerRe: IOCP memory question Pin
Richard MacCutchan30-Aug-09 6:58
mveRichard MacCutchan30-Aug-09 6:58 
QuestionRe: IOCP memory question Pin
lcx31563382031-Aug-09 2:11
lcx31563382031-Aug-09 2:11 
AnswerRe: IOCP memory question Pin
Richard MacCutchan31-Aug-09 4:08
mveRichard MacCutchan31-Aug-09 4:08 

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.