This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch]: PR 577 & "#pragma code_page" support for windres


Hello,

I added the support of the --codepage (-c) option to windres tool. 
Additionally windres supports now the "code_page" pragma. It has the 
following syntax:
#pragma code_page( DEFAULT | <number>)

May somebody could add a good testcase for the codepage feature.

ChangeLog:

2007-06-06  Kai Tietz  <Kai.Tietz@onevision.com>
        * binutils/rclex.c: (cpp_line): Add code_page pragma
        support.
        * binutils/windres.c: (usage, long_options, main):
        Add new option --codepage & -c.
        * binutils/winduni.c: (wind_default_codepage,
        wind_current_codepage): New.
        (unicode_from_ascii, ascii_from_unicode): Use
        wind_current_codepage as codepage parameter.
        (unicode_print): Print 4 characters for hexadecimal
        values in unicode strings.
        * binutils/winduni.h:  (wind_default_codepage,
        wind_current_codepage): New.
        * binutils/doc/binutils.texi: Add new option.

Cheers,
 i.A. Kai Tietz



|  (\_/)  This is Bunny. Copy and paste Bunny
| (='.'=) into your signature to help him gain
| (")_(") world domination.

------------------------------------------------------------------------------------------
  OneVision Software Entwicklungs GmbH & Co. KG
  Dr.-Leo-Ritter-StraÃe 9 - 93049 Regensburg
  Tel: +49.(0)941.78004.0 - Fax: +49.(0)941.78004.489 - www.OneVision.com
  Commerzbank Regensburg - BLZ 750 400 62 - Konto 6011050
  Handelsregister: HRA 6744, Amtsgericht Regensburg
  KomplementÃrin: OneVision Software Entwicklungs Verwaltungs GmbH
  Dr.-Leo-Ritter-StraÃe 9 â 93049 Regensburg
  Handelsregister: HRB 8932, Amtsgericht Regensburg - GeschÃftsfÃhrer: 
Ulrike DÃhler, Manuela Kluger

Attachment: optc_codepage.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]