On Jul 23, 9:19 am, "Mike M. Lin" <[email protected]> wrote: > I'm having trouble capitalizing non-English characters in the Stream I/ > O homework assignment. For example, this text below: > > > Parais qu'le bonheur est à portée de main, > > Is being converted to this text (notice the lower case à and é): > > > PARAIS QU'LE BONHEUR EST à PORTéE DE MAIN, > > I'm using Character.toUpperCase(char) to do the conversion. I > experimented a little, especially around the Unicode encoding, but > ultimately couldn't figure this one out. Am I right to think that > these characters should be capitalized, or is the above what's > expected? Yes, the accented characters should be capitalized. But you cannot do it with the APIs use in the project.
Michèle Garoche (à propos, la phrase française devrait être Paraît..., il est le sujet, non pas je ou tu). > > Thanks, > Mike -- To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/javaprogrammingwithpassion?hl=en
