Create a new article with the following HTML markup:
This is a test sentence with an HTML äntity
ä
is a HTML entity that is used in the german language to encode the Umlaut ä
After creating the article, go ahead and create a menu item for com_search and run a search for äntity in the frontend.
The created article is supposed to be found by com_search.
The article isn't found because the input in the search module (äntity
) doesn't match the value in the database table (äntity
)
I'm aware that this is an edge case and can easily be worked around by disabling the conversion of Umlauts to entities (i.e. JCE has an option for this that switch to off by default anyway), so I'm not sure if this should be covered by the CMS at all.
Labels |
Added:
?
|
Can see my follow up wasn´t exactly same as reported case.
Didn´t enter entity code to present the special character. Have keyboard support for those extended characters. But still, it is an issue in Edge and also reported by other Danish users.
@SniperSister
Do you mean that you enter in the textarea
äentity
instead of äentity
?
I enter äntity into the article body with disabled WYSIWYG editor. This gets converted into äntity on display by the web browser.
Please use the special sign before and after what you enter exactly as ä
is transformed to ä
here.
Forget it. I thought is would be easy by using $text = htmlentities($text, ENT_NOQUOTES, 'UTF-8');
It would work in your special case, but it would break when a text is saved as pure UTF8 (without htmlentities), which is the normal way to do in J!
Sorry folks, I just realized that Github converted my ä automatically because I didn't escape, updated my description to make it more clear
Category | ⇒ | com_search |
Status | New | ⇒ | Confirmed |
Status | Confirmed | ⇒ | Discussion |
Labels |
Added:
J3 Issue
|
Status | Discussion | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2018-08-18 15:09:32 |
Closed_By | ⇒ | brianteeman |
As you have stated that its an edge case (lol I thought you meant the browser) and it's been sat here for 18 months I am going to close it
Have seen this specific to the Microsoft Edge browser too. Danish special characters æ ø å Æ Ø Å do not return a search result in Edge, but do in IE11, Chrome, FF, etc.
For example Šbecome å when having hit search button and no result is then returned.