GithubHelp home page GithubHelp logo

Comments (14)

wilkinsona avatar wilkinsona commented on April 28, 2024 1

Thanks, Sam. To avoid duplicating effort, I'll close this one again for now. Let us know how this afternoon's investigation goes. We can re-open this one again if needed.

from spring-boot.

resmo avatar resmo commented on April 28, 2024 1

@sbrannen spring-core-6.1.5-20240226.173247-18.jar fixes the issue, umlauts are shown correctly (content-length size is as it was in 6.1.3)

Thanks!

from spring-boot.

philwebb avatar philwebb commented on April 28, 2024

This is unlikely to be an issue in Spring Boot itself, but it could be caused by a dependency upgrade that we manage. I would suspect Spring Framework or Tomcat would be the most likely candidates.

@resmo Do you have a small reproducer project that you can provide? This might help us identify what's changed.

from spring-boot.

resmo avatar resmo commented on April 28, 2024

I created a reproducer and can say, that I am only able to reproduce it in 3.2.3 using the helper library io.github.wimdeblauwe -> htmx-spring-boot

reproducer repo https://github.com/resmo/spring-boot-3.2.3-demo-htmx-umlauts

from spring-boot.

scottfrederick avatar scottfrederick commented on April 28, 2024

See wimdeblauwe/htmx-spring-boot#99

from spring-boot.

scottfrederick avatar scottfrederick commented on April 28, 2024

@resmo I've tried your reproducer, and I see the umlauts when clicking on both links regardless of the Spring Boot version. I've tested it in Chrome and Firefox, running the app with ./mvnw spring-boot:run or java -jar target/repro-0.0.1-SNAPSHOT.jar. Are there additional instructions for running the app that you can provide?

Also, can you try setting the property <spring-framework.version>6.1.3</spring-framework.version> in the <properties> section of your pom.xml when building against Spring Boot 3.2.3? Framework was upgraded from 6.1.3 to 6.1.4 between Boot 3.2.2 and 3.2.3, so forcing the downgrade with Boot 3.2.3 would help narrow down the root of the problem.

from spring-boot.

resmo avatar resmo commented on April 28, 2024

@scottfrederick

I've tried your reproducer, and I see the umlauts when clicking on both links regardless of the Spring Boot version. I've tested it in Chrome and Firefox, running the app with ./mvnw spring-boot:run or java -jar target/repro-0.0.1-SNAPSHOT.jar. Are there additional instructions for running the app that you can provide?

very interesting: you did everything the way I did, but as it seems the issue is related to the language setting in the browser: if I change the default language to "english", all umlauts look good. If I change it to "german" or "german (switzerland)", I see the issue.

tested in chromium, firefox on linux and firefox on mac

adding <spring-framework.version>6.1.3</spring-framework.version> to properties in pom does "fix" the issue

I browsed through the list of issues and noticed spring-projects/spring-framework#32317 which looks suspicious. I try to test the snapshot of 6.1.5 once it is available.

from spring-boot.

scottfrederick avatar scottfrederick commented on April 28, 2024

Thanks for the follow-up @resmo. I will close this issue, as it doesn't appear that Spring Boot is the cause.

from spring-boot.

sbrannen avatar sbrannen commented on April 28, 2024

I browsed through the list of issues and noticed spring-projects/spring-framework#32317 which looks suspicious. I try to test the snapshot of 6.1.5 once it is available.

@resmo, please note that 6.1.5-SNAPSHOT builds for Spring Framework are already available.

See spring-projects/spring-framework#32317 (comment) for details.

Feedback is welcome!

from spring-boot.

resmo avatar resmo commented on April 28, 2024

@scottfrederick Thanks for your time.
@sbrannen I tested with spring-core-6.1.5-20240225.154205-16.jar but unfortunately it doesn't resolve the issue.

from spring-boot.

wilkinsona avatar wilkinsona commented on April 28, 2024

Re-opening to continue the investigation. The problem reminds me a little of #32472 and #32472 (comment) in particular. However, unless Tomcat changed its mappings in a maintenance release, I wouldn't expect to see the described change in behavior.

from spring-boot.

resmo avatar resmo commented on April 28, 2024

@wilkinsona let me know if I can help, to me it looks related to accept-language header somehow

from spring-boot.

sbrannen avatar sbrannen commented on April 28, 2024

Andy, I think it might be due to the fact that the content type is now cached.

See the analysis from a user in the linked Framework issue which I’ll investigate this afternoon.

from spring-boot.

sbrannen avatar sbrannen commented on April 28, 2024

We've pushed a fix for Spring Framework 6.1.x.

See spring-projects/spring-framework#32317 (comment) for details.

from spring-boot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.