Click here to Skip to main content
15,911,531 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 
jschell wrote:
In practical business programming, with anything except English
You should not exclude English. Even if you and your company's home is in the USA, and you do all your business correspondence in English, you soon run into partners - persons or organizations - with names or addresses using characters outside 7-bit ASCII. Under some circumstances, simply replacing non-ASCII characters with whatever ASCII character you think resembles the original most closely can lead to misunderstandings and failure to find essential information in a search. Sometimes, the replacement can lead to what is in the original language a rude word, an insult etc.

UTF-8 always could handle the entire Unicode range, and for most of your text (if you don't have any business contacts with non-ASCII names or addresses, it goes for all of it), UTF-8 is just as compact as ASCII (*). If your software uses UTF-16 as an internal format, the best thing is if it can handle surrogates, but you can get a long way with handling the basic plane only. (Until you go crazy with emoticons, using all there is available - but that is not too common in business correspondence).

(*) Certainly: ASCII can be transmitted over a US style 56 kbps digital line, with 7 bits to the character. UTF-8 cannot; it requires 8 bits per byte. Even US digital lines were 8 bits per byte, 64 kbps, but for every 6 byte, the phone switch stole the LSB to use for its communication with other switches, so only 7 of the 8 bits were reliable in data transfer. I don't know whether 56 kbps lines are still used in the US of A (please enlighten me!). If they are, you can send 7-bit ASCII untransformed, but not UTF-8. Most likely, it will be transformed anyway - there is a whole crowd of different standard ways of transforming any data stream to 7-bit bytes. MIME alone provides three alternatives!
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 

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.