This page is no longer maintained — Please continue to the home page at www.scala-lang.org

unicode question (was Re: Seeking Elegance)

3 replies
Raoul Duke
Joined: 2009-01-05,
User offline. Last seen 42 years 45 weeks ago.

On Tue, Jan 24, 2012 at 11:48 AM, Erik Osheim wrote:
> On Tue, Jan 24, 2012 at 02:46:03PM -0500, Doug Tangren wrote:
>> "bIpPy".toLowerCase.capitalize
> Oooh, didn't know about capitalize! Thanks :)

does anybody really expect unicode to always be capitalized right?

http://unicode.org/Public/UNIDATA/SpecialCasing.txt

just curious.

Doug Tangren
Joined: 2009-12-10,
User offline. Last seen 42 years 45 weeks ago.
Re: unicode question (was Re: Seeking Elegance)


On Tue, Jan 24, 2012 at 2:53 PM, Raoul Duke <raould [at] gmail [dot] com> wrote:
On Tue, Jan 24, 2012 at 11:48 AM, Erik Osheim <erik [at] plastic-idolatry [dot] com> wrote:
> On Tue, Jan 24, 2012 at 02:46:03PM -0500, Doug Tangren wrote:
>> "bIpPy".toLowerCase.capitalize
> Oooh, didn't know about capitalize! Thanks :)

does anybody really expect unicode to always be capitalized right?

http://unicode.org/Public/UNIDATA/SpecialCasing.txt

just curious.

See the source link for StringLike.scala

http://www.scala-lang.org/api/current/index.html#scala.collection.immutable.StringLike
Doug Tangren
Joined: 2009-12-10,
User offline. Last seen 42 years 45 weeks ago.
Re: unicode question (was Re: Seeking Elegance)


On Tue, Jan 24, 2012 at 3:01 PM, Raoul Duke <raould [at] gmail [dot] com> wrote:
On Tue, Jan 24, 2012 at 11:58 AM, Doug Tangren <d [dot] tangren [at] gmail [dot] com> wrote:
>> does anybody really expect unicode to always be capitalized right?
> See the source link for StringLike.scala

isn't that just deferring to java?

Ha, don't `blame` me :) https://github.com/scala/scala/blame/master/src/library/scala/collection/immutable/StringLike.scala

Raoul Duke
Joined: 2009-01-05,
User offline. Last seen 42 years 45 weeks ago.
Re: unicode question (was Re: Seeking Elegance)

On Tue, Jan 24, 2012 at 11:58 AM, Doug Tangren wrote:
>> does anybody really expect unicode to always be capitalized right?
> See the source link for StringLike.scala

isn't that just deferring to java?

Copyright © 2012 École Polytechnique Fédérale de Lausanne (EPFL), Lausanne, Switzerland