Hello All,
I'm writing file using TFileStream (0.9.25 lazarus/fpc 2.2.2/mac os x 10.5.4).
Code:
TFileStream.Create(Filename,fmCreate,WRITE_FILEMODE);
But then I can't read it because I don't have any
permissions (ever to read) for this file.
(File is created under /Users/MyName/ directory. )
Jonas Maebe wrote:
On 11 Sep 2008, at 15:02, Mark Morgan Lloyd wrote:
I've had no success trying to drive fpc interactively across ttys to get
to the point of failure.
Indeed, the tty redirection doesn't work very will in combination with
raw terminal modes.
After experimentation I was ab
> It is not documented at all. Just like the rest of the database-stuff.
> But maybe I should write a FAQ for fpc. With the new lazarus-versions
> using UTF-8 by default, this is asked quite often.
This would be really nice.
I know I'm not the only one who doesn't want to spend days on hacking
Sorry, but I meant comparing with collation. I did not mean comapring
within labguage context.
How can you do /proper/ collation while ignoring the language context?
1) 'sıkıcı' which means 'boring' in English (notice the dotless small
'i's)
2) 'sikici' which means 'fucker' in English
Depe
listmember wrote:
IMHO The discussion splits here between:
1) How can this be done in a specific app
2) what should fpc provide
as for 2: This would be on top of yet (afaik) missing basic functions
such as
Compare using collation x (where collation is given as argument to
compare, not as part of
[Note that, here 'TCharacter' isn't necessarily an object; it might as
well be a simple record structure.]
AFAIK for most programmers this is not a common task. Most programs need less
(one language or codepage)
But, when you're talking unicode, codepage is rather meaningless --isn't it?
or
Actually for you example case doesn't matter. as you need to decide if
"ss" = "ß"
And, this is only valid in German. For all other, the result must either
be false, or undefined.
Is there, in Unicode, start-stop markes that denote 'language'?
I do not know, that was why I said "unused uni
listmember wrote:
Martin Friebe wrote:
Just to make sure, all of this discussion is based on various collation
No part of this discussion is based on collation.
Ok, so we were talking about different things
Here is a scenario for you:
You have multilanguage text as data. Someone has ask
Op vrijdag 12-09-2008 om 15:56 uur [tijdzone +0200], schreef Mattias
Gärtner:
> Zitat von Joost van der Sluis <[EMAIL PROTECTED]>:
>
> > Op vrijdag 12-09-2008 om 13:22 uur [tijdzone +0200], schreef JoshyFun:
> >
> > > A> Thanks for pointing me to the Lazarus thread about this and the bug
> > > A>
Daniël Mantione schrieb:
>
>
> Op Fri, 12 Sep 2008, schreef listmember:
>
>> This search needs to be NOT case-sensitive.
>>
>> How can you do this?
>>
>> Is it doable if TCharacter (or wahtever you call it) has no 'langauge'
>> attribite?
>
> 'I am on FoolStrasse' versus 'I am on FoolStraße' is
Op Fri, 12 Sep 2008, schreef listmember:
This search needs to be NOT case-sensitive.
How can you do this?
Is it doable if TCharacter (or wahtever you call it) has no 'langauge'
attribite?
'I am on FoolStrasse' versus 'I am on FoolStraße' is not a upper/lower
case issue. Strasse and Straß
Zitat von Joost van der Sluis <[EMAIL PROTECTED]>:
> Op vrijdag 12-09-2008 om 13:22 uur [tijdzone +0200], schreef JoshyFun:
>
> > A> Thanks for pointing me to the Lazarus thread about this and the bug
> > A> report. Checked them.
> > A> But as I understand there is no solution available at the mom
Zitat von listmember <[EMAIL PROTECTED]>:
>[...]
> You have multilanguage text as data. Someone has asked you to search it
> and see if a certain peice of string (in a given language) exists in it.
>
> This search needs to be NOT case-sensitive.
>
> How can you do this?
>
> Is it doable if TCharac
Martin Friebe wrote:
Just to make sure, all of this discussion is based on various collation
No part of this discussion is based on collation.
I am going to leave out the object question for now. I said all I can
say in earlier mails.
That's good. Thank you.
And also from your comments it
Op vrijdag 12-09-2008 om 13:22 uur [tijdzone +0200], schreef JoshyFun:
> A> Thanks for pointing me to the Lazarus thread about this and the bug
> A> report. Checked them.
> A> But as I understand there is no solution available at the moment for this.
>
> I had partially solved the problem using t
Hello ABorka,
Friday, September 12, 2008, 2:30:35 AM, you wrote:
A> Thanks for pointing me to the Lazarus thread about this and the bug
A> report. Checked them.
A> But as I understand there is no solution available at the moment for this.
I had partially solved the problem using the handler "OnG
Just to make sure, all of this discussion is based on various collation
for European languages? Or shall we include Arabic, Chinese and other
languages? But they have there own chars, they can be identified without
collation, so they do not need the language info, to be distinguished
from Europ
[EMAIL PROTECTED] schreef:
In fpc revision 11746 i cannot compile this construction:
program posx;
var
s, s1: WideString;
begin
Pos(s[1], s1);
end.
fpc -vh posx.pas
Hint: Start of reading config file /etc/fpc.cfg
Hint: End of reading config file /etc/fpc.cfg
Free Pascal Compiler version 2.3
18 matches
Mail list logo