you are viewing a single comment's thread
view the rest of the comments
[–] 12 points 5 months ago (8 children)

Usually only happened when a French person copied and pasted their text directly from a Word document... dang weird spaces and accented characters... drove my boss mad when I told him it was because it French, and not a glitch.

Still had to work around it... text counters in textboxes had to account for accented characters, which took two bytes instead of one.

"I only have 2000 letters!" ... 2000 including 200 accent characters made it 2200 characters, not 2000.

  • source
  • hideshow 8 child comments
  • [–] 5 points 5 months ago (3 children)

    “I only have 2000 letters!” … 2000 including 200 accent characters made it 2200 characters, not 2000.

    Or, you could count it in Unicode characters, and not in whatever bizarro charset you're using over there. Then "À" is one character, just as it's supposed to be.

    The problem typically comes from improper conversion between charsets. Like Windows-1252 to Unicode, or something equally horrible.

  • source
  • parent
  • hideshow 3 child comments
  • [–] 1 point 5 months ago (1 child)

    I remember one day long ago when Notepad++ was the real shit, I was using the vertical selection feature and noticed that the selection was shorter on lines that had accented characters. I thought: "huh, accented characters count as two? What would happen if the selection ended in one? Can I select half a character?" no I could not and I had to restart my computer after trying.

  • source
  • parent
  • hideshow 1 child comment