Re: Swapcase for Titlecase characters

2016-03-29 Thread Kent Karlsson
Den 2016-03-19 17:40, skrev "Doug Ewell" : > As one anecdote (which is even less like "data" than two anecdotes), I > could not find any of the characters IJ ij DŽ Dž dž LJ Lj lj NJ Nj nj or their hex (You missed the DZ "ligature" (which aren't really ligatures).) As mentioned, for the IJ ij here (which some

Re: Swapcase for Titlecase characters

2016-03-21 Thread Doug Ewell
I wrote: As one anecdote (which is even less like "data" than two anecdotes), I could not find any of the characters IJ ij DŽ Dž dž LJ Lj lj NJ Nj nj or their hex equivalents in any of the CLDR keyboard definitions. I'd imagine that users just type the two characters separately, and that consequently most

Re: Swapcase for Titlecase characters

2016-03-20 Thread Doug Ewell
Otto Stolz wrote: [ ... ] I'd imagine that users just type the two characters [IJ or ij] separately, and that consequently most data in the real world is like that. For "IJ", cf. . I can't make Edge or Acrobat Reader DC jump to th

Re: Swapcase for Titlecase characters

2016-03-20 Thread Otto Stolz
Hello, Am 19.03.2016 um 17:40 schrieb Doug Ewell: As one anecdote (which is even less like "data" than two anecdotes), I could not find any of the characters IJ ij DŽ Dž dž LJ Lj lj NJ Nj nj or their hex equivalents in any of the CLDR keyboard definitions. I'd imagine that users just type the two character

Re: Swapcase for Titlecase characters

2016-03-19 Thread Marcel Schneider
On Fri, Mar 18, 2016, 08:43:56, Martin J. Dürst wrote: > I'm working on extending the case conversion methods for the programming > language Ruby from the current ASCII only to cover all of Unicode. > > Ruby comes with four methods for case conversion. Three of them, upcase, > downcase, and ca

Re: Swapcase for Titlecase characters

2016-03-19 Thread Marcel Schneider
On Sat Mar 19, 2016 12:54:51, Martin J. Dürst wrote: > On 2016/03/19 04:33, Marcel Schneider wrote: > > On Fri, Mar 18, 2016, 08:43:56, Martin J. Dürst wrote: > > >> b) Convert to upper (or lower), which may simplify implementation. > > >> For example, 'Džinsi' (jeans) would become 'DžINSI' with

Re: Swapcase for Titlecase characters

2016-03-19 Thread Doug Ewell
Martin J. Dürst wrote: Now the question I have is: What to do for titlecase characters? [ ... ] For example, 'Džinsi' (jeans) would become 'DžINSI' with a), 'DŽINSI' (or 'džinsi') with b), and 'dŽINSI' with c). For the Latin letters at least, my 0.02 cents' worth (you read that right) is that the

Re: Swapcase for Titlecase characters

2016-03-19 Thread Martin J. Dürst
Thanks everybody for the feedback. On 2016/03/19 04:33, Marcel Schneider wrote: On Fri, Mar 18, 2016, 08:43:56, Martin J. Dürst wrote: b) Convert to upper (or lower), which may simplify implementation. For example, 'Džinsi' (jeans) would become 'DžINSI' with a), 'DŽINSI' (or 'džinsi') with b)

Re: Swapcase for Titlecase characters

2016-03-19 Thread Mark Davis ☕️
The 'swapcase' just sounds bizarre. What on earth is it for? My inclination would be to just do the simplest possible implementation that has the expected results for the 1:1 case pairs, and whatever falls out from the algorithm for the others. Mark On Sat, Mar 19, 2016 at 4:11 AM, Asmus Freytag

Re: Swapcase for Titlecase characters

2016-03-19 Thread Asmus Freytag (t)
On 3/18/2016 12:33 PM, Marcel Schneider wrote: As about decomposing digraphs and ypogegrammeni to apply swapcase: That probably would be doing no good, as itʼs unnecessary and users wonʼt expect it. That was my intuition as well, but based on a d

Swapcase for Titlecase characters

2016-03-18 Thread Martin J. Dürst
I'm working on extending the case conversion methods for the programming language Ruby from the current ASCII only to cover all of Unicode. Ruby comes with four methods for case conversion. Three of them, upcase, downcase, and capitalize, are quite clear. But we have hit a question for the for