ppalaga commented on issue #599: Produce NativeImageEnableAllCharsetsBuildItem 
where appropriate
URL: https://github.com/apache/camel-quarkus/issues/599#issuecomment-576368973
 
 
   > It looks to me a generic quarkus issue than a camel one so we should 
probably let the developers choose.
   
   I was about to say that we are letting the 80% of devs to learn the hard way 
but then tried to find some data about the usage of the individual encodings. 
Found only https://w3techs.com/technologies/overview/character_encoding that is 
perhaps a bit Western/US-centric because it is considering just 10M most 
popular sites, popularity being defined by data from Alexa. But anyway, UTF-8 
is most probably dominating nowadays.
   
   For the record, the encodings available by default are:
   
   Charset.defaultCharset(), US-ASCII, ISO-8859-1, UTF-8, UTF-16BE, UTF-16LE, 
UTF-16
   
   
https://github.com/oracle/graal/blob/79d85a3f0a41bb264dd396f6ff335da29525bcd1/substratevm/src/com.oracle.svm.core/src/com/oracle/svm/core/jdk/LocalizationFeature.java#L116-L128
   
   Let's just document on the individual extension pages that the users may 
need to set `quarkus.native.enable-all-charsets = true` if that set is not 
enough for them

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to