Re: [fpc-devel] Controlling the output of the widestring manager

2007-11-27 Thread Daniël Mantione
Op Tue, 27 Nov 2007, schreef Felipe Monteiro de Carvalho: Hello, Today I took a look at what would be necessary to implement controlling the output of the widestring manager, and implementing this looks rather trivial. The only thing we need is a switch, to control if widestrings

Re: [fpc-devel] Controlling the output of the widestring manager

2007-11-27 Thread Felipe Monteiro de Carvalho
On Nov 27, 2007 8:37 PM, Daniël Mantione [EMAIL PROTECTED] wrote: A more generic solution is necessary; one can want to output strings in a specific encoding, utf-8 is only one of the specific encodings that are demanded. Therefore a boolean is not a good solution. Win32Wide2Ansi just calls

Re: [fpc-devel] Controlling the output of the widestring manager

2007-11-27 Thread Daniël Mantione
Op Tue, 27 Nov 2007, schreef Felipe Monteiro de Carvalho: On Nov 27, 2007 8:37 PM, Daniël Mantione [EMAIL PROTECTED] wrote: A more generic solution is necessary; one can want to output strings in a specific encoding, utf-8 is only one of the specific encodings that are demanded.

Re: [fpc-devel] Controlling the output of the widestring manager

2007-11-27 Thread Felipe Monteiro de Carvalho
On Nov 27, 2007 8:58 PM, Daniël Mantione [EMAIL PROTECTED] wrote: This function has a code page parameter, which allows you to specify the code page you want to use? umm ... I missread it and thougth that only the values on the table are possible =) ok, so: OutputFormat: TEncoding; TEncoding

Re: [fpc-devel] Controlling the output of the widestring manager

2007-11-27 Thread Michael Van Canneyt
On Tue, 27 Nov 2007, Daniël Mantione wrote: Op Tue, 27 Nov 2007, schreef Felipe Monteiro de Carvalho: On Nov 27, 2007 8:37 PM, Daniël Mantione [EMAIL PROTECTED] wrote: A more generic solution is necessary; one can want to output strings in a specific encoding, utf-8 is only one

Re: [fpc-devel] Controlling the output of the widestring manager

2007-11-27 Thread Daniël Mantione
Op Tue, 27 Nov 2007, schreef Felipe Monteiro de Carvalho: On Nov 27, 2007 8:58 PM, Daniël Mantione [EMAIL PROTECTED] wrote: This function has a code page parameter, which allows you to specify the code page you want to use? umm ... I missread it and thougth that only the values on the

Re: [fpc-devel] Controlling the output of the widestring manager

2007-11-27 Thread peter green
Felipe Monteiro de Carvalho wrote: Hello, Today I took a look at what would be necessary to implement controlling the output of the widestring manager, and implementing this looks rather trivial. The only thing we need is a switch, to control if widestrings should be converted to the current