Skip to main content
deleted 261 characters in body
Source Link
JohnGB
  • 68.6k
  • 26
  • 185
  • 297

Leaving aside the question of whether it's a good idea for people to read the ID in the first place; If your goal is to make it easy for humans to read the ID you shouldn't use any characters that may be mistook for anything else.

My first recommendation would be to I would recommendonly use uppercase letters and numbers, leaving out: 0, O, o, i, I, l, and 1.0. What is left would be easier to copy due to the consistency.

Depending on the fontIf that a user is reading them inisn't possible, these characters can often look very alike. You are free to use uppercase "L" as it is clearly different from every other letter. Some people may argue that the same is true for lowercase 'o'I would then recommend leaving out: 0, but in my mind this is a borderline caseO, and soo, i, I would err on the side of caution, l, and leave it out1.

However, if for some reason you can be sure that your users will only see the font in a monospace font (usually used in codingprogramming), you may not have to have this step, as characters are usually easily distinguishable in monospaced fonts.

Leaving aside the question of whether it's a good idea for people to read the ID in the first place; If your goal is to make it easy for humans to read the ID you shouldn't use any characters that may be mistook for anything else.

I would recommend leaving out: 0, O, o, i, I, l, and 1.

Depending on the font that a user is reading them in, these characters can often look very alike. You are free to use uppercase "L" as it is clearly different from every other letter. Some people may argue that the same is true for lowercase 'o', but in my mind this is a borderline case, and so I would err on the side of caution and leave it out.

However, if for some reason you can be sure that your users will only see the font in a monospace font (usually used in coding), you may not have to have this step, as characters are usually easily distinguishable in monospaced fonts.

If your goal is to make it easy for humans to read the ID you shouldn't use any characters that may be mistook for anything else.

My first recommendation would be to only use uppercase letters and numbers, leaving out O and 0. What is left would be easier to copy due to the consistency.

If that isn't possible, I would then recommend leaving out: 0, O, o, i, I, l, and 1.

However, if for some reason you can be sure that your users will only see the font in a monospace font (usually used in programming), you may not have to have this step, as characters are usually easily distinguishable in monospaced fonts.

Source Link
JohnGB
  • 68.6k
  • 26
  • 185
  • 297

Leaving aside the question of whether it's a good idea for people to read the ID in the first place; If your goal is to make it easy for humans to read the ID you shouldn't use any characters that may be mistook for anything else.

I would recommend leaving out: 0, O, o, i, I, l, and 1.

Depending on the font that a user is reading them in, these characters can often look very alike. You are free to use uppercase "L" as it is clearly different from every other letter. Some people may argue that the same is true for lowercase 'o', but in my mind this is a borderline case, and so I would err on the side of caution and leave it out.

However, if for some reason you can be sure that your users will only see the font in a monospace font (usually used in coding), you may not have to have this step, as characters are usually easily distinguishable in monospaced fonts.