# HTML Character Entities

**URL:** <https://discuss.codelibs.org/t/html-character-entities/2733>\
**Category:** English:Fess\
**Created:** [March 10, 2026, 5:00pm UTC](https://discuss.codelibs.org/t/html-character-entities/2733 "2026-03-10T17:00:30Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Anders-Bergqvist](https://discuss.codelibs.org/user_avatar/discuss.codelibs.org/anders-bergqvist/32/569_2.png) [@Anders-Bergqvist](https://discuss.codelibs.org/u/Anders-Bergqvist)\
**Post date:** [March 10, 2026, 5:00pm UTC](https://discuss.codelibs.org/t/html-character-entities/2733/1 "2026-03-10T17:00:30Z")

</div>

We have installed a fess version 15.5. In search results our Meta titles and description have the encoded `&#214;` instead of the (Swedish) caracter Ö for example. We have checked that we have utf-8 encoding. Did we miss something?

We don’t have that problem with our Fess 14.10 in production.

 ![image](https://discuss.codelibs.org/uploads/default/original/1X/fd9e9649dcc8fbe7a74b4d755f5adb2cffbc2ab8.png)

---

<div class="post-metadata">

**Author:** ![shinsuke](https://discuss.codelibs.org/user_avatar/discuss.codelibs.org/shinsuke/32/6_2.png) [@shinsuke](https://discuss.codelibs.org/u/shinsuke)\
**Post date:** [March 12, 2026, 2:30am UTC](https://discuss.codelibs.org/t/html-character-entities/2733/2 "2026-03-12T02:30:42Z")

</div>

Thank you for the information. It will be fixed in the next release.

---

<div class="post-metadata">

**Author:** ![Anders-Bergqvist](https://discuss.codelibs.org/user_avatar/discuss.codelibs.org/anders-bergqvist/32/569_2.png) [@Anders-Bergqvist](https://discuss.codelibs.org/u/Anders-Bergqvist)\
**Post date:** [April 20, 2026, 11:48am UTC](https://discuss.codelibs.org/t/html-character-entities/2733/3 "2026-04-20T11:48:21Z")

</div>

Is this fixed now? I did not see it in the release notes for 15.6.

---

<div class="post-metadata">

**Author:** ![shinsuke](https://discuss.codelibs.org/user_avatar/discuss.codelibs.org/shinsuke/32/6_2.png) [@shinsuke](https://discuss.codelibs.org/u/shinsuke)\
**Post date:** [April 23, 2026, 1:09am UTC](https://discuss.codelibs.org/t/html-character-entities/2733/4 "2026-04-23T01:09:04Z")

</div>

> <https://github.com/codelibs/fess/pull/3066>
>
> \## Summary
> 
> \- Replace \`java.net.URI\`/\`URISyntaxException\` with \`java.net.URL\`/\`M…alformedURLException\` in \`FessXpathTransformer\`
> \- Simplify URL handling in \`ProtocolHelper\` by using \`URL.getProtocol()\` directly instead of converting to URI
> \- Update corresponding test method names and assertions
> 
> \## Changes Made
> 
> \- \*\*\`FessXpathTransformer.java\`\*\*: Migrated all URI-based URL resolution to use \`java.net.URL\`. The \`getURI()\` method is renamed to \`getURL()\`, \`getBaseUri()\` to \`getBaseUrl()\`. The \`addChildUrlFromTagAttribute()\` signature now accepts \`URL\` instead of \`URI\`, and the overridden method simplifies logic by leveraging \`new URL(base, spec)\` constructor which handles relative URL resolution natively.
> \- \*\*\`ProtocolHelper.java\`\*\*: Removed unnecessary \`URI\` conversion when checking resource protocol — now reads \`resource.getProtocol()\` directly from the \`java.net.URL\` object. The URI conversion is still performed only when constructing a \`File\` from the resource (required by \`File(URI)\` constructor).
> \- \*\*\`FessXpathTransformerTest.java\`\*\*: Renamed \`test\_getBaseUri()\` to \`test\_getBaseUrl()\` and updated all assertion calls to use \`URL\` API (\`toExternalForm()\` instead of \`toString()\`).
> 
> \## Testing
> 
> \- Existing unit tests in \`FessXpathTransformerTest\` updated and cover the refactored methods
> \- The path normalization for \`/../\` prefixes is retained in \`addChildUrlFromTagAttribute()\`
> 
> \## Breaking Changes
> 
> \- \`getBaseUri()\` and \`getURI()\` protected methods are renamed to \`getBaseUrl()\` and \`getURL()\` — any subclasses overriding these methods will need to be updated
> \- \`addChildUrlFromTagAttribute()\` parameter type changed from \`URI\` to \`URL\`
> 
> \## Additional Notes
> 
> \- \`java.net.URL\` handles a wider range of URL formats that \`URI.create()\` would reject with \`IllegalArgumentException\`, making the crawler more resilient to non-standard URLs found in the wild
> \- The simplified error handling in \`addChildUrlFromTagAttribute()\` removes the large fallback block that manually constructed absolute URLs, since \`new URL(base, spec)\` handles these cases natively

---

<div class="post-metadata">

**Author:** ![system](https://discuss.codelibs.org/uploads/default/original/1X/efce8754755b16f7cd29d67032acc350fe50e37e.png) [@system](https://discuss.codelibs.org/u/system)\
**Post date:** [July 22, 2026, 1:09am UTC](https://discuss.codelibs.org/t/html-character-entities/2733/5 "2026-07-22T01:09:17Z")

</div>

Closed on July 22, 2026, 1:09am UTC

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
