Re: [twsocket] Another unicode issue

2011-01-28 Thread Arno Garrels
Busai Péter wrote: >> I just checked in the change. If you use SVN you should revert >> previous changes before update in order to avoid conflicts, > "Resolve conflicts using 'theirs'" is just one click ;) True, forgot about it :) That's however fatal if you have uncommitted private changes. --

Re: [twsocket] Another unicode issue

2011-01-28 Thread Busai Péter
I just checked in the change. If you use SVN you should revert previous changes before update in order to avoid conflicts, "Resolve conflicts using 'theirs'" is just one click ;) Peter -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-b

Re: [twsocket] Another unicode issue

2011-01-28 Thread Arno Garrels
Busai Péter wrote: > Sorry, they must be surrounded by defines to work in older compilers: Thanks for your help. I just checked in the change. If you use SVN you should revert previous changes before update in order to avoid conflicts, I changed a little bit more. It should be available in next da

Re: [twsocket] Another unicode issue

2011-01-28 Thread Busai Péter
Sorry, they must be surrounded by defines to work in older compilers: HandleTableRow(TagParams, P + J + 1, Q - P - J - 1, RowDataGetter, UserData, DestStream {$IFDEF COMPILER12_UP} , DestCodePage

Re: [twsocket] Another unicode issue

2011-01-27 Thread Busai Péter
Hi Arno, There were two DestCodePage parameter passover missing in OverbyteIcsHttpSrv. function HtmlPageProducerFromMemory Line: 5068 HandleTableRow(TagParams, P + J + 1, Q - P - J - 1, RowDataGetter, UserData, DestStream, DestCodePage); and Line: 5076

Re: [twsocket] Another unicode issue

2011-01-27 Thread Arno Garrels
Arno Garrels wrote: > Busai Péter wrote: >> In HttpAppServer, URLHandler >> >> Call >> Client.AnswerPage(Flags,'','','template.html',nil,['SOMEKEY','A']); >> >> The value of SOMEKEY must be one character long. >> >> Result rendered in html page: >> Unsupported TVarRec.VType = vtWideChar > > I u

Re: [twsocket] Another unicode issue

2011-01-27 Thread Arno Garrels
Busai Péter wrote: > In HttpAppServer, URLHandler > > Call > Client.AnswerPage(Flags,'','','template.html',nil,['SOMEKEY','A']); > > The value of SOMEKEY must be one character long. > > Result rendered in html page: > Unsupported TVarRec.VType = vtWideChar I uploaded changed versions of Overby

[twsocket] Another unicode issue

2011-01-26 Thread Busai Péter
In HttpAppServer, URLHandler Call Client.AnswerPage(Flags,'','','template.html',nil,['SOMEKEY','A']); The value of SOMEKEY must be one character long. Result rendered in html page: Unsupported TVarRec.VType = vtWideChar Steps to reproduce in demo: Modify TUrlHandlerHomePageHtml to pass just on