Check-in [d1a015905b]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Edited readme. Removed .res files, they don't belong in the repo. Moved ignore-glob to versionable file.
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: d1a015905bffe20ba4550dec7f8e3e4a41a79c36
User & Date: tinus 2015-12-10 07:04:52.188
Context
2019-03-21
20:01
Updated README, included links to binaries. Updated project files to Delphi 10.2 Tokyo. check-in: 277592fee5 user: Martijn tags: trunk
2015-12-10
07:04
Edited readme. Removed .res files, they don't belong in the repo. Moved ignore-glob to versionable file. check-in: d1a015905b user: tinus tags: trunk
2014-03-12
20:37
When no charset is specified, and using the standard input and/or output stream, default to their defined code page instead of hard-coding OEM. When no output charset is defined, and we're not writing to standard output, default to UTF-8. check-in: 03e7a7b726 user: Martijn tags: trunk
Changes
Unified Diff Ignore Whitespace Patch
Added .fossil-settings/ignore-glob.


















>
>
>
>
>
>
>
>
>
1
2
3
4
5
6
7
8
9
*.~*
*.bak
*/Thumbs.db
*.dsk
*.local
*.identcache
*/__history/
out/
.hg*
Name change from doc/README.md to README.md.
1
2
3
4
5
6
7

8
9
10
11
12
13
14
15

16
17
18
19
20
21

22

23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42

43


Some useful tools
=================
This repository contains a few command-line tools I wrote in a hurry, and might be useful to others.

Use the menu above to browse through the source code. I haven't got any pre-built binary at the 
moment, but if you drop me a note or [write a ticket](../../../tktnew) about it, I will.



FinalPathNameByHandle
---------------------
Prints the final path of the given file or folder name, i.e. all junctions and symlinks are resolved.
See the MSDN article on [GetFinalPathNameByHandle] for more information.


[GetFinalPathNameByHandle]: http://msdn.microsoft.com/en-us/library/windows/desktop/aa364962.aspx

***

IsWorkstationLocked
-------------------
Reports whether the workstation is locked, or waits for the given status. See the [help output] for more info.


[help output]: ../src/res/IsWorkstationLocked-help.txt

***

ConvertCharset
--------------
Reads a text file using the specified character set, and writes it using a different character set.
Useful for converting old DOS era plain text files to the modern age (i.e. [UTF-8]). :-)

	Converts a text file from one code page to another
	ConvertCharset [/r=<codepage>] infile /w=<codepage> [outfile] [/b]
	
	infile         The file containing the text to convert. Use a hyphen to read from stdin.
	outfile        The file to write the converted text to. If omitted, the output is
	               written to infile. Use a hyphen to write to stdout.
	/r=<codepage>  The character set or code page of infile. If omitted, the system's
	               default (ANSI) character set is assumed.
	/w=<codepage>  The character set or code page to convert the text to.

	For <codepage>, you can either use a code page number, or a charset name, as supported
	by the system.


[UTF-8]: http://stackoverflow.com/questions/5733045/what-character-encoding-is-best-for-multinational-companies/5746798#5746798






|


>

|
|

|



>




|

>

>




















>

>
>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
Some useful tools
=================
This repository contains a few command-line tools I wrote in a hurry, and might be useful to others.

Use the menu above to browse through the source code. I haven't got any pre-built binaries at the 
moment, but if you drop me a note or [write a ticket](../../../tktnew) about it, I will.

***

FinalPathName
-------------
Prints the final path of the given file or folder name, i.e. all junctions and symlinks are resolved.
See the MSDN article on [GetFinalPathNameByHandle] for more details.


[GetFinalPathNameByHandle]: http://msdn.microsoft.com/en-us/library/windows/desktop/aa364962.aspx

***

IsWorkstationLocked
-------------------
Reports whether the workstation is locked, or waits for the given status. See its [help output] for more info.


[help output]: ../src/res/IsWorkstationLocked-help.txt

***

ConvertCharset
--------------
Reads a text file using the specified character set, and writes it using a different character set.
Useful for converting old DOS era plain text files to the modern age (i.e. [UTF-8]). :-)

	Converts a text file from one code page to another
	ConvertCharset [/r=<codepage>] infile /w=<codepage> [outfile] [/b]
	
	infile         The file containing the text to convert. Use a hyphen to read from stdin.
	outfile        The file to write the converted text to. If omitted, the output is
	               written to infile. Use a hyphen to write to stdout.
	/r=<codepage>  The character set or code page of infile. If omitted, the system's
	               default (ANSI) character set is assumed.
	/w=<codepage>  The character set or code page to convert the text to.

	For <codepage>, you can either use a code page number, or a charset name, as supported
	by the system.


[UTF-8]: http://stackoverflow.com/questions/5733045/what-character-encoding-is-best-for-multinational-companies/5746798#5746798

***
Deleted src/FinalPathNameByHandle.res.

cannot compute difference between binary files

Deleted src/IsWorkstationLocked.res.

cannot compute difference between binary files