2013-04-01 00:17 UTC+0200 Viktor Szakats (harbour syenar.net)

* utils/hbmk2/hbmk2.prg
    + will now use UTF-8 when the stdout is redirected to file
      (caveat: will also use UTF-8 when using Windows tools
      like 'more' do not understand UTF-8)
    + will now use UTF-8 when using -viewhelp to open the help in viewer

  * README.md
    * minor clarification to formatting cmd templates

  * .gitattributes
    + some lines for future testing
This commit is contained in:
Viktor Szakats
2013-04-01 00:20:58 +02:00
parent 671c61b6de
commit 3b20d12114
4 changed files with 27 additions and 3 deletions

View File

@@ -60,8 +60,8 @@ There are several ways to help making Harbour better:
the files you're patching. The easiest way to achieve this
is to use these commands to format your sources:
$ uncrustify -c <harbour_dir>/bin/harbour.ucf <file.c|.h>
$ <harbour_dir>/bin/hbformat <file.prg|.hb|.ch>
$ uncrustify -c <harbour_dir>/bin/harbour.ucf <source(.c|.h)>
$ <harbour_dir>/bin/hbformat <source(.prg|.hb|.ch)>
- Text editor setting for Harbour files
- Encoding is either 7-bit ASCII or UTF-8 (without [BOM](https://en.wikipedia.org/wiki/Byte_order_mark))