Click here to Skip to main content
15,887,214 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Frustration Pin
Marc Clifton28-Jan-23 2:47
mvaMarc Clifton28-Jan-23 2:47 
GeneralRe: Frustration Pin
0x01AA28-Jan-23 6:37
mve0x01AA28-Jan-23 6:37 
GeneralRe: Frustration Pin
David O'Neil28-Jan-23 15:28
professionalDavid O'Neil28-Jan-23 15:28 
GeneralRe: Frustration Pin
Sander Rossel29-Jan-23 5:10
professionalSander Rossel29-Jan-23 5:10 
GeneralRe: Frustration Pin
jschell29-Jan-23 11:18
jschell29-Jan-23 11:18 
GeneralRe: Frustration Pin
trønderen30-Jan-23 7:27
trønderen30-Jan-23 7:27 
GeneralRe: Frustration Pin
jschell3-Feb-23 5:09
jschell3-Feb-23 5:09 
GeneralRe: Frustration Pin
trønderen3-Feb-23 6:07
trønderen3-Feb-23 6:07 
jschell wrote:
So limitations must exist.
A great argument for any arbitrary limitation (when you don't have any other good justification).

No, forbidding spaces "must" not be a restriction. We have had computer systems allowing it since the 1970s. (I saw it first time in a Xerox document processing system around 1979. Not only did it allow spaces, but file names that were a line long, like "1975-04-12 Letter to Jim Jones" - at that time, *nix file names was limited to 14 characters, DOS to 8+3.) Practically speaking all desktop PCs have had OSs and file systems allowing it for 30+ years. There is nothing in the *nix file systems forbidding it either. The problem is that application writers in *nix environments work under self-imposed restrictions, to make the programming easier for themselves.
I suspect the reason for spaces at least goes back to command line usage.
Nobody justifies limitations on programming practices by referring to assembly programming environments, or use of magnetic tape. Why should a programmer refer to a CLI environment as a justification for limitations in a modern screen oriented environment?
Look at the problem with windows which does allow spaces but which does not recognize case sensitivity.
I am really happy that the DOS/Windows file system designers made that deliberate design decision. In all my traditional, non-PC, writing, upper and lower case have no semantic difference. A file name is semi-external to the PC itself, it is not internal like a source program but displayed to non-computer-people.

Case sensitivity seems to be another "let us make it simpler for ourselves". Of course it takes a little programming effort to handle case independence (just like with spaces in names), but it gives the end user what is most natural to him/her. Also, comparing for absolute equality with no conversion makes it easier to win the performance race.
But if I am working in US English then I do not want to see those characters in the file names.
Will you accept that the Asians have the same attitude towards Latin script in file names? You won't even accept my Norwegian file names and URLs, is that so?
Using a full Unicode character set has performance and data size implications.
There you have it again: We cannot provide the user with what (s)he wants/needs, because it would reduce our chances of winning the performance race.

There is no inherent data size limitations (call it 'implications' if you like). Either you handle arbitrary length strings, or you have a limit even for 7-bit ASCII. Besides: Storing English text as UTF-8 has very low space overhead.

Are you aware that Windows does not use 32-bits Unicode internally? It halves the space requirement by using UTF-16. Not too many years ago, every single language for which a written form was defined could fit all their characters into a single UTF-16 code. Having to resort to escapes is a very rare (and quite recent) situation.
the text columns that are specific to the application will not be using Unicode.
So you will not prepare for porting your application to other cultures. As you refer to text, even if the other fields are not 'user entered', I guess that they are terms that may be appear e.g. as headings, or as month/weekday names, product categories or whatever. For internationalization, it is not sufficient to handle national characters in user specified strings only.
GeneralRe: Frustration Pin
jschell6-Feb-23 6:11
jschell6-Feb-23 6:11 
GeneralRe: Frustration Pin
Eddy Vluggen28-Jan-23 6:22
professionalEddy Vluggen28-Jan-23 6:22 
GeneralMight as well join in Pin
Greg Utas27-Jan-23 7:48
professionalGreg Utas27-Jan-23 7:48 
GeneralRe: Might as well join in Pin
Mike Hankey27-Jan-23 8:33
mveMike Hankey27-Jan-23 8:33 
GeneralRe: Might as well join in Pin
MadGerbil27-Jan-23 8:59
MadGerbil27-Jan-23 8:59 
GeneralRe: Might as well join in Pin
Mike Hankey27-Jan-23 9:40
mveMike Hankey27-Jan-23 9:40 
GeneralRe: Might as well join in Pin
MadGerbil27-Jan-23 10:06
MadGerbil27-Jan-23 10:06 
GeneralRe: Might as well join in Pin
Mycroft Holmes27-Jan-23 11:29
professionalMycroft Holmes27-Jan-23 11:29 
GeneralRe: Might as well join in Pin
jmaida27-Jan-23 16:19
jmaida27-Jan-23 16:19 
GeneralRe: Might as well join in Pin
DRHuff27-Jan-23 19:07
DRHuff27-Jan-23 19:07 
GeneralCurrent best method of interfacing with a webcam? Pin
Member 1401374327-Jan-23 6:16
Member 1401374327-Jan-23 6:16 
GeneralRe: Current best method of interfacing with a webcam? Pin
OriginalGriff27-Jan-23 6:18
mveOriginalGriff27-Jan-23 6:18 
GeneralRe: Current best method of interfacing with a webcam? Pin
MarkTJohnson27-Jan-23 6:35
professionalMarkTJohnson27-Jan-23 6:35 
JokeRe: Current best method of interfacing with a webcam? Pin
Jeremy Falcon27-Jan-23 6:53
professionalJeremy Falcon27-Jan-23 6:53 
GeneralRe: Current best method of interfacing with a webcam? Pin
Slacker00727-Jan-23 7:23
professionalSlacker00727-Jan-23 7:23 
GeneralRe: Current best method of interfacing with a webcam? Pin
Jeremy Falcon27-Jan-23 8:42
professionalJeremy Falcon27-Jan-23 8:42 
GeneralRe: Current best method of interfacing with a webcam? Pin
Slacker00727-Jan-23 8:48
professionalSlacker00727-Jan-23 8:48 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.