Files
harbour-core/harbour
Viktor Szakats 8c899eb85a 2012-04-26 16:13 UTC+0200 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
    + hbmk2 code made compatible with UTF8 HVM CP
      except where FOR EACH is used on strings, which are all
      broken with UTF8 now. Marked these with TOFIX.
    + strip UTF8 BOM from .hbm/.hbp/.hbc input files
    + added PROC CLIPINIT (I can't make it work, so commented
      for now)
    ; Switching to UTF8EX creates quite many strange problems
      when accepting cmdline arguments, passing them to embedded
      compiler, external tools, so it's not yet enabled. Also,
      one some platforms _SET_OSCODEPAGE is required (DOS/OS2),
      on some not, and detection of these cases and actual value
      is not easy (if possible). Tests made only on Windows,
      maybe on *nix I'll retry and moving to UTF8 will be done
      platform by platform.
    ; NOTE: I plan to make UTF8 the standard encoding for .hbp/.hbm/.hbc files.
    ; TOFIX: FOR EACH for UTF8EX CP
    ; TOFIX: cmdline arguments via Main() parameters, hb_AParams()
             and hb_cmdLine() on Windows.
    ; TODO: Add a way to detect maximum bit width of unicode chars,
            for now I hard-coded 16-bit.
2012-04-26 14:18:14 +00:00
..