Are all 256 characters from Codepage 437 available in the game? Looking at the included fonts and tilesets is seems like people are accounting for Codepage 437.
The .json files have about 170 unique chars between them. Leaving the rest for customization (grass, flowers, bushes, road, male_player, female_player, male_NPC, female_NPC, ect…)
As a test I tired replacing the symbol for a dandelion with an unused char and it comes up blank in the game. Is there another way to define the char in the .json as hex or dec or escape sequence that I don’t know about?
The game uses Unicode, strings are encoded as UTF-8. Most objects load the first byte from the string in the json definition, few objects (like monster type definitions) load the symbol as a standard (UTF-8) string (which should take up 1 console cell, but it can contains as many Unicode character as you like). The overmap terrain still uses only the ASCII character code. This has nothing to do with any codepage.
The display (in curses the terminal / terminal emulator) must support those characters, specifically the font that is used must contain a proper graphic for them. It is however not limited by the game.
female_player, male_NPC, female_NPC
That looks like it's from a tileset definition. There is no restriction there either, it's not linked to any codepage or whatever. Those strings are act as links to the part of the tileset image where the associated tile is stored.
As a test I tired replacing the symbol for a dandelion with an unused char and it comes up blank in the game. Is there another way to define the char in the .json as hex or dec or escape sequence that I don't know about?
What "unused char"? Only monster types seem to fully support arbitrary UTF-8 strings, the other things will only use the first [b]byte[/b] of the string (which will destroy/interrupt multibyte characters).
The codepage was a guess was based on the tilesets using it for fallback support and the font I’m using is based on the same codepage and works as expected. Except is when trying to use one of the extended ascii or control characters.
[spoiler]
[/spoiler]
What "unused char"?
The other day I tried [url=http://www.fileformat.info/info/unicode/char/2663/index.htm]'BLACK CLUB SUIT'[/url] seemed like a good choice for a flower.