public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] strchr problem
@ 2006-09-22 20:32 Leandro Fanzone
  0 siblings, 0 replies; only message in thread
From: Leandro Fanzone @ 2006-09-22 20:32 UTC (permalink / raw)
  To: ecos-discuss

Hello there. I'm having a rather serious problem using strchr with 
accented letters. The following code:

    char *s = strchr("Leándro",'á');

returns NULL; however,

    char *s = strchr("ándro",'á');

works OK. I'm using eCos 2.0 on i386, with

1) "Inline versions of <string.h> functions" enabled
2) "Optimize string functions for code size" disabled

Though I know I can easily write my own strchr, I thought it would be 
useful to report it.

-- 
Leandro Fanzone
http://www.seikilos.com.ar


-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-09-22 20:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-09-22 20:32 [ECOS] strchr problem Leandro Fanzone

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).