[Lazarus] non Unicodode application
Michael Van Canneyt
michael at freepascal.org
Fri Feb 12 15:50:57 CET 2016
On Fri, 12 Feb 2016, Michael Schnell wrote:
> On 02/12/2016 03:16 PM, Michael Van Canneyt wrote:
>>
>>
>> On Fri, 12 Feb 2016, Michael Schnell wrote:
>>
>>> On 02/12/2016 02:38 PM, Michael Van Canneyt wrote:
>>>>
>>>> Just use RawByteString as stringtype for all parameters and variables
>>>> in calls where you don't want code page conversions to occur.
>>>
>>> This would mean rewriting the complete application. This obviously is not
>>> desired .
>>
>> Tish...
>>
>> {$define String:=RawByteString}
>>
>> and you are done.
>>
> I don't thinks this is true.
>
> Many built-in functions and RTL functions and classes (such as "pos" and
> "TStrings") explicitly use "string" as parameter and property type. If they
> are not re-compiled they will not work at all or not as expected .
Then you are, as they say, f*d...
Michael.
More information about the Lazarus
mailing list