question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

how about extending unicode to names

See original GitHub issue

I tried an atom name and a variable name:

?- X = _äüö .
error parsing query: 
?- X = äüö .
error parsing query: 

Didn’t work:

Bildschirmfoto 2020-07-17 um 22 03 24

In SWI-Prolog the same works:

?- X = äüö .
X = äüö.
?- X = _äüö .
X = _äüö.
Bildschirmfoto 2020-07-17 um 22 05 38

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:8

github_iconTop GitHub Comments

1reaction
ghostcommented, Jul 18, 2020

@triska I found already an issue about quoted strings:

writeq should escape non-printables, not only quote them https://github.com/tau-prolog/tau-prolog/issues/195

0reactions
ghostcommented, Jul 19, 2020

I made on purpose an ä, ü, ö example in my Unicode request. In Maori you have:

   a macron = ā

But you don’t have to go to New Zealand, to find non-ascii in the alphabeth. In Switzerland/ Germany/Austria there are ä, ü, ö, and

they are not homoglyphs to a, u, o. You get different meaning with and without them. Here is an example:

    schön = beautiful

    schon = already

So be careful with any sanitizing, you might erase meaning.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unicode Character Encoding Stability Policies
Unlike many other standards, the Unicode Standard is continually expanding—new characters are added to meet a variety of uses, ranging from ...
Read more >
List of Unicode characters - Wikipedia
As of Unicode version 15.0, there are 149,186 characters with code points, covering 161 modern and historical scripts, as well as multiple symbol...
Read more >
Unicode Chart
Position Decimal Name 0x0000 0 : NULL 0x0001 1 : START OF HEADING 0x0002 2 : START OF TEXT
Read more >
Get unicode name for characters - Using Swift
Unicode gives names for Unicode scalars, not characters (extended grapheme literals). You can obtain the Unicode name for a scalar using the ...
Read more >
Unicode Character Names by Graham Nelson
This extension was mechanically generated from the Unicode 4.1 draft. ... If names for Unicode characters outside these ranges are needed, use the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found