SpecialCharacters

Looking at special characters in this wiki

This wiki is a Unicode wiki. This means that you should see APL characters as long as your browser uses a Unicode font. This wiki suggests to your browser to use one of these fonts:

The order defines the priority.

If one of these fonts is to be found on your machine, you will see APL characters. If not, well, you might see APL chars.

Problem is that almost no Unicode font implements all characters. Unfortunately, all fonts available on a Windows system do not come with APL chars. When Microsoft Office or Microsoft Punlisher is installed on such a system you might or might not have a version of the Ariabl font which comes with the APL symbols, but this font it not free.

Problems

  1. If you have told your browser explicitly to use a particular non-Unicode font regardless what a site is suggesting to the browser, you won't see the APL characters, of course.
  2. In case you use an old browser, you might encounter a problem. Since this wiki addresses IT professionals your are supposed to use a modern browser.
  3. If you use any version of the Internet Explorer you might have a problem. The same version of IE might work well on one machine but not on another, and nobody can explain why. Even the latest version, IE7, which is the first one defaulting to Unicode, is not displaying UTF characters correctly in all cases - but in most.

You might find that you are using a version of IE which is displaying APL characters perfectly well on Dyalog's pages related to dynamic functions but not with this wiki. This is because IE is the only browser which is able to do a "dynamic font download". The Dyalog pages tell the IE that a particular font is needed. If this font is not available on that machine, it is downloaded and installed by IE. When the IE is closed, the font will disappear. This is an proprietory technology used by no other browser. That is the reason why this wiki is not using the same technique.

Check out

Is all okay for you?

If this code:

Prim←{all/⍨2=+⌿0=all∘.|all←⍳⍵}

displays the same code as this image:

Code_Prim.jpg

everything should be okay.

Copying code between an APL session and this wiki and vice versa

It's all about Unicode: If your APL is able to handle Unicode, it will work perfectly well. Dyalog APL, for example, is able to deal with Unicode since version 11. You can copy code from the Dyalog session and paste it into this wiki and vice versa and it works. With versions prior to 11 this will not work, sorry!

With APLX Version 3 or later it will work as well, but you have to select the "Copy as Unicode" or "Paste from Unicode" menu commands, or to use the keyboard shortcuts associated to these commands.

APL2 was the very first APL offering this feature.

Marking code as such

Although a Unicode font might display the APL characters properly that does not mean that they will look nice! Normally you want to have a monospaced font.

If you want include code in a wiki page you have to tell the wiki explicitly to process that piece of text as code. For this, prefix and postfix the code with 3 "curlies" (curly brackets):

This is: {{{anycode}}} an inline example
which leads to this output:
This is: anycode an inline example

Another example with the same piece of code but with newline characters between the curlies and the code iself:

{{{
anycode
}}}

which leads to this output:

anycode

Entering APL characters directly into this wiki

If Microsofts Input Method Editor is installed on your machine you should be able to enter APL characters into the wiki directly.

However, most keyboard layouts uses the Ctrl key to create some of the special characters. That might conflict with the application hosting the Input Method Editor, typically a text editor or a browser.

The font "APL385 Unicode" from Adrian Smith is recommended.This font is able to display all APL characters used in any of the modern dialects.

APL385_Unicode.zip

SpecialCharacters (last edited 2009-05-06 09:31:06 by KaiJaeger)