Author Topic: Uppercase accented words  (Read 4657 times)

0 Members and 1 Guest are viewing this topic.

Offline krovit

  • Forum Regular
  • Posts: 179
    • View Profile
Uppercase accented words
« on: September 24, 2020, 03:52:40 am »
Hi everyone,

the uppercase of " é "  is chr$(130)...
which is the uppercase of " è " ??

It seems that it is not foreseen anywhere ...

Nothing is easy, especially when it appears simple (and nothing could be as dangerous as trying to do good to others)

Offline mpgcan

  • Newbie
  • Posts: 26
    • View Profile
Re: Uppercase accented words
« Reply #1 on: September 24, 2020, 06:22:18 am »

Offline krovit

  • Forum Regular
  • Posts: 179
    • View Profile
Re: Uppercase accented words
« Reply #2 on: September 24, 2020, 07:05:41 am »
chr$(138)= è

it seems that that uppercase of "è" is not supported in QB64...
and it's pretty weird (although there will be a valid reason for that)
in italian language cannot do without a uppercase of " è " (È)
« Last Edit: September 24, 2020, 07:09:44 am by krovit »
Nothing is easy, especially when it appears simple (and nothing could be as dangerous as trying to do good to others)

Offline bplus

  • Global Moderator
  • Forum Resident
  • Posts: 8053
  • b = b + ...
    • View Profile
Re: Uppercase accented words
« Reply #3 on: September 24, 2020, 11:22:25 am »
You can make your own set:
https://www.qb64.org/forum/index.php?topic=3025.0

A couple of ways, even create a new language font.

Welcome to the forum! @mpgcan
« Last Edit: September 24, 2020, 11:23:36 am by bplus »

Offline krovit

  • Forum Regular
  • Posts: 179
    • View Profile
Re: Uppercase accented words
« Reply #4 on: September 24, 2020, 03:46:00 pm »
thanks ... it's a bit complicated ... I'll take a look at it
Nothing is easy, especially when it appears simple (and nothing could be as dangerous as trying to do good to others)

Offline krovit

  • Forum Regular
  • Posts: 179
    • View Profile
Re: Uppercase accented words
« Reply #5 on: September 24, 2020, 03:56:42 pm »
thanks bplus, I have only just seen the code you posted in my discussion about the approximation of decimal numbers: very interesting!
Nothing is easy, especially when it appears simple (and nothing could be as dangerous as trying to do good to others)

Offline Cobalt

  • QB64 Developer
  • Forum Resident
  • Posts: 878
  • At 60 I become highly radioactive!
    • View Profile
Re: Uppercase accented words
« Reply #6 on: September 24, 2020, 05:27:35 pm »
https://www.qb64.org/forum/index.php?topic=2911.0

this might be a bit easier to use, if you wanted to makeup your own bios font.

QB64's base font is based off ASCII.
Granted after becoming radioactive I only have a half-life!

Offline Bert22306

  • Forum Regular
  • Posts: 206
    • View Profile
Re: Uppercase accented words
« Reply #7 on: September 24, 2020, 09:01:09 pm »
chr$(138)= è

it seems that that uppercase of "è" is not supported in QB64...
and it's pretty weird (although there will be a valid reason for that)
in italian language cannot do without a uppercase of " è " (È)

The base font for Qbasic and QB64 uses the original MS-DOS 8-bit extended ASCII, where all the accented characters, and some Greek characters, and some symbols for drawing blocks, and a few other goodies, take up code 128-255. So yeah, not everything is supported. I always have a table next to me, which shows the basic extended characters.

Otherwise, you have to select some UTF-8 font. There are people here who have become experts in this matter, like Tempodibasic. I'm too lazy, so I just use whatever accents are available in the base font. (Italian uses so few accents that for the most part, they all exist in the base font, other than upper case accented characters. French seems to have been given priority, in this base character set.)