Search found 149 matches

by chrisjj
Thu Nov 17, 2016 11:59 am
Forum: General
Topic: 8.1.0 .BAT program Tool Capture Output fail
Replies: 6
Views: 923

Have you tried running it thru the command prompt directly? cmd.exe /c script.bat Using cmd.exe /c "$WspDir\!run.bat" : At an actual CMD prompt, it fails http://i.imgur.com/9KMh0YD.png as expected. (At an actual CMD prompt, !run.bat runs http://i.imgur.com/mJBpuFd.png but give garbage characters as ...
by chrisjj
Thu Nov 17, 2016 12:19 am
Forum: General
Topic: 8.1.0 Has anyone got Open File's Encoding option to work?
Replies: 2
Views: 424

Re: 8.1.0 Has anyone got Open File's Encoding option to work

Dear friend, you are going the wrong way. All the signs in your example file are 8-bit-ascii. I guess you mean 8-bit ANSI. Because there's no such thing as 8-bit ASCII. ASCII is 7-bit https://en.wikipedia.org/wiki/ASCII Therefore Textpad made the big AND great step (making me really happy) to go to ...
by chrisjj
Wed Nov 16, 2016 10:26 pm
Forum: General
Topic: 8.1.0 Has anyone got Open File's Encoding option to work?
Replies: 2
Views: 424

8.1.0 Has anyone got Open File's Encoding option to work?

I haven't. I do Open File and select Encoding UTF-8 http://i.imgur.com/P6OMuhU.png but the file appears in ANSI 1252: http://i.imgur.com/dwgjUw1.png That's with the Preferences default at ANSI http://i.imgur.com/rDMEw73.png . I try changing the Preferences default to UTF-8 http://i.imgur.com/JhEPN6A ...
by chrisjj
Tue Nov 15, 2016 11:13 pm
Forum: General
Topic: 8.1.0 .BAT program Tool Capture Output fail
Replies: 6
Views: 923

8.1.0 .BAT program Tool Capture Output fail

Anyone know how to get Tool Capture Output to work on a .BAT program at a variable path? My variable path is: "$WspDir\!run.bat" With a fixed program path: D:\Projects\ChrisJJ\chrisjj.com web\www.chrisjj.com\tango\cjjsets\searchdatagen\!run.bat http://i.imgur.com/zK9Jj5z.png output appears in Tool ...
by chrisjj
Tue Nov 15, 2016 10:21 pm
Forum: General
Topic: 8.0.2 How to get Tool Output to show Unicode?
Replies: 29
Views: 3775

bbadmin wrote:Why would you want it to do that, rather than be able to specify the encoding on the Run dialog box?
To set the default - as that Preferences option says.
by chrisjj
Tue Nov 15, 2016 10:17 pm
Forum: General
Topic: 8.1.0 Where is the status bar display of "codepage"
Replies: 2
Views: 263

The document encoding is displayed on the statusbar when documents are opened, and when you double click the message field on the statusbar. Thanks. I found it on the message field click. http://i.imgur.com/PQkI67n.png http://i.imgur.com/Bkwhgzx.png http://i.imgur.com/R1NyOtJ.png Note that with the ...
by chrisjj
Tue Nov 15, 2016 4:37 pm
Forum: General
Topic: 8.0.2 How to get Tool Output to show Unicode?
Replies: 29
Views: 3775

The intention is to add an option to the Run dialog box to specify the encoding. This will also be available for each tool added to the Tools menu. I'd really appreciate an answer to the question. The question s: Are there plans to remedy TextPad Run command's failure to respect the Tool Output ...
by chrisjj
Tue Nov 15, 2016 4:25 pm
Forum: General
Topic: 8.0.2 How to get Tool Output to show Unicode?
Replies: 29
Views: 3775

bbadmin wrote:Your options for specifying the encoding of output from tools in TextPad 8.1 are:
Are there plans to remedy TextPad Run command's failure to respect the Tool Output document class encoding setting?
by chrisjj
Tue Nov 15, 2016 1:30 pm
Forum: General
Topic: 8.0.2 How to get Tool Output to show Unicode?
Replies: 29
Views: 3775

It's poor heuristics that concludes José is more likely than José. You seem to never have written code for an encoding sniffer, especially for european texts Correct. But that doesn't make TextPad's implementation less poor. - it's far from being easy. I believe it's far from easy to achie ...
by chrisjj
Tue Nov 15, 2016 12:59 pm
Forum: General
Topic: 8.1.0 Where is the status bar display of "codepage"
Replies: 2
Views: 263

8.1.0 Where is the status bar display of "codepage"

This was mentioned by Keith @ Helios here

http://forums.textpad.com/viewtopic.php?p=42759#42759
"I noticed that the codepage which is displayed on the statusbar is not updated when the output has been captured via a pipe."

but I can't see it:

Image[/img]
by chrisjj
Tue Nov 15, 2016 12:55 pm
Forum: General
Topic: 8.0.2 How to get Tool Output to show Unicode?
Replies: 29
Views: 3775

It just confirms what I already found out: I can only assume that á alone is not enough for Textpad to think the encoding is meant to be UTF-8 - it just thinks it's ANSI. But my two additional Katakanas are enough as an indication to UTF-8. It's poor heuristics that concludes José is more ...
by chrisjj
Tue Nov 15, 2016 12:38 pm
Forum: General
Topic: 8.0.2 How to get Tool Output to show Unicode?
Replies: 29
Views: 3775

Keith, Are there plans to remedy TextPad Run command's failure to respect the Tool Output document class encoding setting?
bbadmin wrote:In TextPad 8, Find in Files uses heuristics to determine the encoding of each document it searches.
Yowch. Thanks for the warning. That should really go in the user docs.
by chrisjj
Tue Nov 15, 2016 12:49 am
Forum: General
Topic: 8.0.2 How to get Tool Output to show Unicode?
Replies: 29
Views: 3775

heuristics are used to determine the codepage of the file. I assume that's a bug. The encoding should be determined by my setting in Preferences: http://i.imgur.com/nV9IB3A.png In your case, this fails to detect UTF-8, because there's insufficient data to distinguish that from ANSI text. This can ...
by chrisjj
Sun Nov 13, 2016 10:21 pm
Forum: General
Topic: 8.0.2 Why does this UTF-8 display kluge fail in Tool?
Replies: 2
Views: 346

bbadmin wrote:To capture UTF-8 output in TextPad 8.1, set that as the default encoding for the Tool Output document class. That didn't work in previous releases.
Here, it doesn't work in 8.1 either. See http://forums.textpad.com/viewtopic.php?p=42757#42757 .
by chrisjj
Sun Nov 13, 2016 10:18 pm
Forum: General
Topic: 8.0.2 How to get Tool Output to show Unicode?
Replies: 29
Views: 3775

In TextPad 8.1, the default encoding for the Tool Output document class is used when capturing the output of external programs. Not here. The failure reported above for 8.0.2 persists in 8.1.0. http://i.imgur.com/twZDjSZ.png http://i.imgur.com/jS1Ud7C.png http://i.imgur.com/knEbmVN.png http://i ...