This was the solution, thank you Jean!

Letters that include the hashtag # have to be double excluded:

\&\#7692;

/

with best regards, Omar KN, Stockholm, Sweden
On Thursday, 25 February 2021 at 20:30:15 UTC+1 jj wrote:

> Omar,
>
> If you want to selectively convert some characters to html entities, you 
> could use the BBEdit Canonize command:  Menu 'Text' > 'Canonize ...' with a 
> canonize file in the form:
>
> ```
> # -*- x-bbedit-canon-case-sensitive: 1; x-bbedit-canon-match-words: 0; 
> x-bbedit-canon-grep: 1; -*-
> À \À
> Á \Á
> ...
> ```
>
> See the BBEdit manual for more info on the Canonize command.
>
> On each line put a character and its entity separated by a *TAB.*
>
> Here is an example for latin diacritics 
> <https://gist.github.com/mixio/5ceb75053406d4c668103f859ce6ad02> that you 
> can edit at your convenience.
>
> Best regards,
>
> Jean Jourdain
> On Thursday, February 25, 2021 at 9:34:13 AM UTC+1 [email protected] wrote:
>
>> If I use "Translate Text to HTML" on a page - because there a somewhere a 
>> few non-latin entities (ä ö ü å … ), then everything will be converted, 
>> including the HTML tags!
>>
>> On Thursday, 25 February 2021 at 09:29:25 UTC+1 Omar KN wrote:
>>
>>> I know that UTF-8 will accommodate non-latin entities (ä ö ü å … ), but 
>>> if I want to convert a page to HTML-entities how would I do this?
>>>
>>> UG has this:
>>> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
>>>
>>> HTML Entities
>>>
>>> When this option is set, the Translate Text to HTML command will convert 
>>> all extended characters in the current document into HTML entities, using 
>>> either names or the code (in decimal or hexadecimal). You can specify 
>>> whether the tool should ignore < and >. This is useful when translating 
>>> text already marked up as HTML. You can also specify that all Unicode text 
>>> should be converted to entities.
>>>
>>> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
>>>
>>> but how to access this?
>>>
>>>
>>> /
>>>
>>> with best regards, Omar KN, Stockholm, Sweden
>>>
>>

-- 
This is the BBEdit Talk public discussion group. If you have a feature request 
or need technical support, please email "[email protected]" rather than 
posting here. Follow @bbedit on Twitter: <https://twitter.com/bbedit>
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bbedit/d8050e56-d73c-4ddd-8dd1-9970faacf22cn%40googlegroups.com.

Reply via email to