On Tue, Apr 22, 2008 at 12:48 PM, Dave Crozier <[EMAIL PROTECTED]> wrote: > Paul, > Have you tried creating the index with ConvToOemCp(Name) as opposed to Name.
Our databases use ANSI so this shouldn't be a problem. > I think that this may be your problem. > > http://tinyurl.com/5pqfj6 (SET COLLATION TO ASCII problems) An excellent suggestion! However it doesn't seem to this problem. We're actually using a Norwegian collation table in this particular case. Also both the lower & upper case codes for the ø character is > 128 I've got a bit closer. SEEK("Bjørn") && Fails SEEK("BJØRN") && Fails SEEK("BJøRN") && Works! So in other words xBase is not making the ø upper case in the index... Thanks anyway! Paul > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf > Of Paul Hill > Sent: 22 April 2008 12:31 > To: ProFox Email List > Subject: Tool to dump index > > > > Hi All, > > Got an odd problem here. I have a DBF & CDX that's created by XBase++ > (a clipper compiler). > There's a field called 'name' and an index on UPPER(name). > > If I open the table in Fox and seek on UPPER("Fred") it works fine. > However, if I seek on UPPER("Bjørn") it fails to find the record. > > Similarly this fails: > LOCATE FOR UPPER(name) = UPPER("Bjørn") > but this works: > LOCATE FOR UPPER(name) = UPPER("Bjørn") NOOPTIMIZE > > There's obviously a problem in XBase++ when uppercasing these > international characters. > The codepage for the table is correct. > > I'd like to see what's in the index. Does anyone have a tool to dump > the index data? > > p.s. a re-index on Fox cures the problem... > > -- > Paul > > > [excessive quoting removed by server] _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED] ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

