Click here to Skip to main content
15,915,771 members
Home / Discussions / Java
   

Java

 
GeneralRe: viewing Java disassembly Pin
Dave Kreskowiak12-Jan-24 12:14
mveDave Kreskowiak12-Jan-24 12:14 
QuestionHow can I integrate ChatGPT into my Spring Boot application? Pin
Nata Bil27-Dec-23 22:57
Nata Bil27-Dec-23 22:57 
AnswerRe: How can I integrate ChatGPT into my Spring Boot application? Pin
Richard MacCutchan27-Dec-23 23:47
mveRichard MacCutchan27-Dec-23 23:47 
GeneralRe: How can I integrate ChatGPT into my Spring Boot application? Pin
Gerry Schmitz28-Dec-23 6:41
mveGerry Schmitz28-Dec-23 6:41 
GeneralRe: How can I integrate ChatGPT into my Spring Boot application? Pin
Richard MacCutchan28-Dec-23 6:58
mveRichard MacCutchan28-Dec-23 6:58 
AnswerRe: How can I integrate ChatGPT into my Spring Boot application? Pin
jschell29-Dec-23 5:19
jschell29-Dec-23 5:19 
Questiondebugger stop button behaving weirdly Pin
mike741120-Dec-23 19:08
mike741120-Dec-23 19:08 
AnswerRe: debugger stop button behaving weirdly Pin
Gerry Schmitz20-Dec-23 20:45
mveGerry Schmitz20-Dec-23 20:45 
GeneralRe: debugger stop button behaving weirdly Pin
jschell21-Dec-23 3:41
jschell21-Dec-23 3:41 
GeneralRe: debugger stop button behaving weirdly Pin
Gerry Schmitz21-Dec-23 7:41
mveGerry Schmitz21-Dec-23 7:41 
GeneralRe: debugger stop button behaving weirdly Pin
jschell22-Dec-23 6:00
jschell22-Dec-23 6:00 
AnswerRe: debugger stop button behaving weirdly Pin
Richard MacCutchan20-Dec-23 22:09
mveRichard MacCutchan20-Dec-23 22:09 
AnswerRe: debugger stop button behaving weirdly Pin
jschell21-Dec-23 3:48
jschell21-Dec-23 3:48 
AnswerRe: debugger stop button behaving weirdly Pin
Richard MacCutchan21-Dec-23 23:09
mveRichard MacCutchan21-Dec-23 23:09 
QuestionIntellij Pin
anderson mendes 202312-Dec-23 9:13
anderson mendes 202312-Dec-23 9:13 
AnswerRe: Intellij Pin
Richard MacCutchan12-Dec-23 22:04
mveRichard MacCutchan12-Dec-23 22:04 
QuestionJava strings Pin
mike74114-Dec-23 16:12
mike74114-Dec-23 16:12 
AnswerRe: Java strings Pin
Richard MacCutchan4-Dec-23 22:17
mveRichard MacCutchan4-Dec-23 22:17 
GeneralRe: Java strings Pin
Andre Oosthuizen5-Dec-23 8:47
mveAndre Oosthuizen5-Dec-23 8:47 
GeneralRe: Java strings Pin
Richard MacCutchan5-Dec-23 9:26
mveRichard MacCutchan5-Dec-23 9:26 
AnswerRe: Java strings Pin
jschell5-Dec-23 5:26
jschell5-Dec-23 5:26 
GeneralRe: Java strings Pin
trønderen5-Dec-23 11:29
trønderen5-Dec-23 11:29 
GeneralRe: Java strings Pin
jschell6-Dec-23 6:33
jschell6-Dec-23 6:33 
GeneralRe: Java strings Pin
trønderen6-Dec-23 9:53
trønderen6-Dec-23 9:53 
GeneralRe: Java strings Pin
jschell7-Dec-23 4:43
jschell7-Dec-23 4:43 
trønderen wrote:
Java uses a subset of UTF-16 that excludes surrogate pairs


Ah...I wondered why your comments were so off base. No you are incorrect. It includes surrogate pairs. And it always has.

String (Java Platform SE 8 )[^]

"A String represents a string in the UTF-16 format in which supplementary characters are represented by surrogate pairs" 


Matter of fact you can also use other languages in the code. Also something that has always been possible.

Java: Unicode in Source Code[^]

I am going to ignore the rest of your comments related to that since your initial assumption was wrong.

-----------------------------------------

trønderen wrote:
You may notice that English is a well known...


As I already said, I have delivered internationalized products for decades.

And I have delivered products that were specifically limited to the United States. By their very nature.

trønderen wrote:
7-bit ASCII and nothing else to a subgroup of potential customers


Not sure exactly what you are referring to but I work in high volume applications. And thus the size of the data matters. Both on the wire and in storage.

And a lot of text even for international applications is not something that users see. So differentiating between the two is a design consideration.

trønderen wrote:
storing all text in a database as UTF-8;


There are performance implications to doing that.

trønderen wrote:
cannot handle even ISO 8859


And cars didn't have seat belts for decades. Hindsight means nothing.

trønderen wrote:
Write all your software to always be prepared for non-ASCII characters, in any context


Absolutely not.

Just like I would not write an application to support 4 billion users just in case it might happen.

When I write software I get paid for writing it. Not for spinning endlessly about possibilities that very likely might never happen.

And I, perhaps unlike you, have worked on applications which would NEVER be used anywhere else. I am not going to detail that but consider if I had worked on a US defense contract for a nuclear missile. Do you think it will need to support the Russian language?

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.