Re: Unicode support



In article <427f5ff4$0$39084$ed2e19e4@xxxxxxxxxxxxxxxxxxxxxxxxxx>,
Simon Geard <simon@xxxxxxxxxxxxx> wrote:

> Is support for unicode in filenames and character strings provided
> intrinsically by the language (f95) or is it compiler specific?

In f95, the whole subject is completely compiler specific.

In f2003, the standard defines a unicode character kind (ok, it is ISO
10646 UCS-4 - I get confused about the fine distinctions between 10646
and unicode, but I think it is essentially the same thing). It is still
optional to the processor whether that kind is supported, but the
spelling of how to access such a kind is defined. This might encourage
more widespread implementation, but that is just speculation on my part.
I have personally never seen an f90/f95 compiler that defined any
character kind other than default, although I believe that there might
be some Asian compilers that do so.

The form of valid file names is compiler specific. However,
interestingly I had to check), I see that a file name must be of default
character kind, even if other kinds are supported. This seems to suggest
that you couldn't (in the standard) support unicode file names unless
unicode was the default kind. Unicode contents is explicitly ok in f2003
(optionally to the compiler), but doesn't look like unicode file names
have the same level of support. Of course, if the compiler otherwise
supports unicode, and the operating system also supports unicode in file
names, it wouldn't surprise me to see that as a trivial extension. In
fact, I'd be tempted to call its lack an oversight in the standard.

--
Richard Maine | Good judgment comes from experience;
email: my first.last at org.domain | experience comes from bad judgment.
org: nasa, domain: gov | -- Mark Twain
.



Relevant Pages

  • Unicode text editor mined 2000 release 11
    ... are not aware of (like auto-detection features and automatic handling ... It was the first editor that supported Unicode in a plain-text terminal. ... Combining character width properties. ... Added keyboard configuration examples for Control-function key detection for rxvt and mlterm to the runtime support library. ...
    (comp.editors)
  • Unicode text editor mined 2000 release 11
    ... Mined provides both extensive Unicode and CJK support offering many ... of terminal variations, or Han character information). ... It was the first editor that supported Unicode in a plain-text terminal. ...
    (comp.os.linux.announce)
  • Re: CLisp case sensitivity
    ... it explicitly allows conforming lisps not to support ... Lisp implementation _also_ conforming with Unicode. ... >> character with a Basic Multilingual Plane character ...
    (comp.lang.lisp)
  • Re: Upcoming release and unicode
    ... > Macintosh into a Unicode-throughout suite of applications. ... > As noted below, Office 2004 for Macintosh will support the input, display, ... > and basic editing of Unicode characters associated with the following ... > compatibility and character fidelity with Office for Windows. ...
    (microsoft.public.mac.office.word)
  • Re: Attention: European C/C++/C#/Java Programmers-Call for Input
    ... ASCII files and senses when the extended character ... The same will apply to PhiText 2.0 ... Unicode you use another 21 bits to store visual information such as text ... compiler, ...
    (comp.arch.embedded)