Click here to Skip to main content
15,843,149 members
Home / Discussions / Java
   

Java

 
AnswerRe: debugger stop button behaving weirdly Pin
Richard MacCutchan22-Dec-23 0:09
mveRichard MacCutchan22-Dec-23 0:09 
QuestionIntellij Pin
anderson mendes 202312-Dec-23 10:13
anderson mendes 202312-Dec-23 10:13 
AnswerRe: Intellij Pin
Richard MacCutchan12-Dec-23 23:04
mveRichard MacCutchan12-Dec-23 23:04 
QuestionJava strings Pin
mike74114-Dec-23 17:12
mike74114-Dec-23 17:12 
AnswerRe: Java strings Pin
Richard MacCutchan4-Dec-23 23:17
mveRichard MacCutchan4-Dec-23 23:17 
GeneralRe: Java strings Pin
Andre Oosthuizen5-Dec-23 9:47
mveAndre Oosthuizen5-Dec-23 9:47 
GeneralRe: Java strings Pin
Richard MacCutchan5-Dec-23 10:26
mveRichard MacCutchan5-Dec-23 10:26 
AnswerRe: Java strings Pin
jschell5-Dec-23 6:26
jschell5-Dec-23 6:26 
That is an incomplete question.

First for java a string contains a character set. So whatever that character set does is what java does.

From the other response the relevant part then is the following

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


You would need to look up 'surrogate pairs' to understand that.

In practical business programming however that is not generally relevant. I know for example that Egyptian hieroglyphics are in the extended set. Certainly Americas, Europe, most of Asia is in the normal set. Not sure about Japanese (etc) like Kanji might or might not be. But supporting those requires other business changes also.

In practical business programming, with anything except English you still must be careful how you store (database) the text. A 'varchar' does represent a character set and you better understand the implications of that before making a decision on what to use. Just a general easy decision to make everything UTF in a database is not necessarily a good idea and there can be unexpected implications of making that decision.
GeneralRe: Java strings Pin
trønderen5-Dec-23 12:29
trønderen5-Dec-23 12:29 
GeneralRe: Java strings Pin
jschell6-Dec-23 7:33
jschell6-Dec-23 7:33 
GeneralRe: Java strings Pin
trønderen6-Dec-23 10:53
trønderen6-Dec-23 10:53 
GeneralRe: Java strings Pin
jschell7-Dec-23 5:43
jschell7-Dec-23 5:43 
AnswerRe: Java strings Pin
Gerry Schmitz6-Dec-23 8:50
mveGerry Schmitz6-Dec-23 8:50 
Question<pre>Problems enlarging Eclipse icons Pin
BrunoV202219-Nov-23 11:57
BrunoV202219-Nov-23 11:57 
AnswerRe: <pre>Problems enlarging Eclipse icons Pin
jschell5-Dec-23 6:27
jschell5-Dec-23 6:27 
QuestionHow to convert string to double with trailing zeros after decimal Pin
Member 161354338-Nov-23 2:46
Member 161354338-Nov-23 2:46 
AnswerRe: How to convert string to double with trailing zeros after decimal Pin
Richard MacCutchan8-Nov-23 3:07
mveRichard MacCutchan8-Nov-23 3:07 
GeneralRe: How to convert string to double with trailing zeros after decimal Pin
Member 161354338-Nov-23 3:23
Member 161354338-Nov-23 3:23 
GeneralRe: How to convert string to double with trailing zeros after decimal Pin
Richard MacCutchan8-Nov-23 3:35
mveRichard MacCutchan8-Nov-23 3:35 
GeneralRe: How to convert string to double with trailing zeros after decimal Pin
Dave Kreskowiak8-Nov-23 4:20
mveDave Kreskowiak8-Nov-23 4:20 
GeneralRe: How to convert string to double with trailing zeros after decimal Pin
jschell8-Nov-23 7:12
jschell8-Nov-23 7:12 
AnswerRe: How to convert string to double with trailing zeros after decimal Pin
Ralf Meier8-Nov-23 9:02
professionalRalf Meier8-Nov-23 9:02 
AnswerRe: How to convert string to double with trailing zeros after decimal Pin
Dave Kreskowiak8-Nov-23 3:23
mveDave Kreskowiak8-Nov-23 3:23 
QuestionHow to use JNI without setting Environment Variables Pin
Valentinor16-Oct-23 1:54
Valentinor16-Oct-23 1:54 
AnswerRe: How to use JNI without setting Environment Variables Pin
Valentinor16-Oct-23 2:42
Valentinor16-Oct-23 2:42 

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.