Home » U++ TheIDE » U++ TheIDE: Other Features Wishlist and/or Bugs » [solved] TheIDE "Run Options..." bug
Re: TheIDE "Run Options..." bug [message #43625 is a reply to message #43624] |
Mon, 15 September 2014 19:16 |
cbpporter
Messages: 1401 Registered: September 2007
|
Ultimate Contributor |
|
|
During my day of testing, I found that it is near impossible to write Utf16 to the console and maintain the ability to reroute the output.
Also what I found on Google suggests that the only way it works (and it does; I tested) is to set Utf8 console output and write raw Utf8 without BOM.
My API is almost identical to Cout().
So while Cout may be changed, just adding an option for TheIDE to not convert that output to whatever encoding it uses should help.
Currently, I can reproduce with these test cases:
1. Cout() like stream, Utf8 console, Utf8 write, Run from TheIDE on cmd.exe. Works.
2. Cout() like stream, Utf8 console, Utf8 write, Run from cmd.exe with redirection (i.e. text.exe > out.txt). Works.
3. Cout() like stream, Utf8 console, Utf8 write, Run from with "File" option. Does not work.
AFAIK WriteConsole does not redirect. It did not for me.
[Updated on: Mon, 15 September 2014 19:17] Report message to a moderator
|
|
|
|
|
[solved] TheIDE "Run Options..." bug
By: cbpporter on Mon, 15 September 2014 16:01
|
|
|
Re: TheIDE "Run Options..." bug
By: mirek on Mon, 15 September 2014 19:08
|
|
|
Re: TheIDE "Run Options..." bug
By: cbpporter on Mon, 15 September 2014 19:16
|
|
|
Re: TheIDE "Run Options..." bug
By: mirek on Mon, 15 September 2014 19:48
|
|
|
Re: TheIDE "Run Options..." bug
By: cbpporter on Wed, 17 September 2014 15:12
|
|
|
Re: TheIDE "Run Options..." bug
By: mirek on Thu, 18 September 2014 07:47
|
|
|
Re: TheIDE "Run Options..." bug
By: cbpporter on Thu, 18 September 2014 08:18
|
|
|
Re: TheIDE "Run Options..." bug
By: cbpporter on Fri, 19 September 2014 11:02
|
|
|
Re: TheIDE "Run Options..." bug
By: mirek on Fri, 19 September 2014 13:47
|
|
|
Re: TheIDE "Run Options..." bug
By: cbpporter on Fri, 19 September 2014 14:33
|
|
|
Re: TheIDE "Run Options..." bug
By: mirek on Sat, 20 September 2014 09:33
|
|
|
Re: TheIDE "Run Options..." bug
By: cbpporter on Sat, 20 September 2014 09:50
|
|
|
Re: TheIDE "Run Options..." bug
By: mirek on Sat, 20 September 2014 18:05
|
|
|
Re: TheIDE "Run Options..." bug
By: mirek on Mon, 22 September 2014 14:44
|
Goto Forum:
Current Time: Mon Apr 29 18:54:56 CEST 2024
Total time taken to generate the page: 0.01945 seconds
|