Door Games Unlimited

Welcome, Guest.


Subject: Re: WX Date: Sun Mar 06 2016 22:41:39
From: KenDB3 To: Digital Man

  Re: Re: WX
  By: Digital Man to KenDB3 on Sat Mar 05 2016 07:37 pm

 >> The only thing the GitHub code has over Ver 1.04 is the beginnings of
 >> language support (aka internationalization) for Spanish and Italian
 >> (other translations are welcome if someone wants to submit some).
 >> However, for languages other than English I've made the characters
 >> UTF-8/Unicode as opposed to CP437, since the accents on non-English
 >> characters will not show up correctly in CP437. (Ex. Monday in Italian
 >> is Luned∞, ending in an "i" with the grave accent which looks awkward
 >> in CP437). 

 DM> Are you using a terminal program that supports UTF-8?

 DM> Most BBS terminal programs that I'm aware of (e.g. SyncTERM) do not
 DM> support UTF-8, so that's not going to work well with the majority of
 DM> clients. Or is this for a web UI (where UTF-8 is widely supported)?

So, it is for the Terminal, and not a Web UI. 

Honestly, this was my attempt to support a request I got (on GitHub) for i18n
support. First, I had to look up "i18n" to find out it meant
internationalization. But, then I saw that Weather Underground's API actually
supports this, but it's a bit of a catch-22. 

The data that comes back has UTF-8 characters, like the days of the week
example I threw into my last post. I am pretty sure the W.U. API wasn't
expecting much stuff other than Web UI. I really have no idea what character
set would support the accented characters besides UTF-8, but I tested with few
different fonts in SyncTERM, including ISO-8859-15 West European and ISO-8859-2
Central European, but no luck. 

I'm able to see everything in UTF-8 just fine using PuTTY release 0.66, using
UTF-8 as the Remote Character Set on the Translations tab, and with a font of
Courier (14-pt, Clear Type) on the Appearance tab.

I even made some changes to the Degrees symbol where if you chose something
other than English it will change to the UTF-8 character.

However, your question has me concerned that maybe I am trying to support a
feature that will never get used (or I'll never really get quite right).
Especially since I feel like I have no idea what character set someone would
use when dialing into a BBS in a non-English country, or even how many various
character sets would be out there and what kind of trouble I would make for
myself trying to figure it all out. 

Thoughts? Suggestions? Comments? Quizzical looks? lol

API info for anyone interested:
http://api.wunderground.com/weather/api/d/docs?d=language-support

~KenDB3

---
 ■ Synchronet ■ KD3net-Rhode Island's only BBS about nothing. http://bbs.kd3.us

Previous Message       Next Message
In Reply To: Re: WX (Digital Man)
Replies: Re: WX (Digital Man)