Am 09.01.2014 14:49, schrieb Jonas Maebe:
On 08 Jan 2014, at 19:37, Reinier Olislagers wrote:
On 08/01/2014 17:17, Jonas Maebe wrote:
The codepage names used by the codepage directive are (unfortunately, I
guess) unrelated to the code page numbers:
http://www.freepascal.org/docs-html/prog/progsu88.html
They are the names of individual codepage units exposed by the charset
unit, which have names such as cp866 and cp1251. In fact, in general I
think you can just prefix the code page number with "cp" (other than
for
utf8, which is built into the compiler and can be accessed via utf8 or
utf-8).
Note that this codepage functionality has been in FPC since 2.4.x
already (or maybe 2.6.0). It's not new in any way.
Thanks a lot, Jonas.
I think that adding links to the manual pages on the wiki is generally
not a good idea, because the names of those pages change with every
FPC release. The exception are pages for units documentation, as those
have fixed names.
The way I find such pages is via google, so maybe a link to
https://www.google.be/search?q=site:www.freepascal.org+codepage is
better. At least it will always be up-to-date.
@Michael: Do you think it would be somehow possible to generate
persistent links for the language reference, etc. , maybe based on the
topic names?
Regards,
Sven
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal