News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

The 09 February 2019 build (11562) is out.

Started by killerbot, February 09, 2019, 11:13:29 AM

Previous topic - Next topic

BlueHazzard

Quote from: raynebc on February 13, 2019, 06:16:31 PM
Khram, are you going to provide one or more example source files in affected character encodings?
With some comments like,

математика     // This should not be underlined red
математка       // This should be underlined red
математка математика    // This should underline red only the first word, but not the second


ecc...
provide some example for people who can not speak russian. And provide it as a downloadable file.
Thank you!

Khram

#16
Thanks!

In the present version, the last letter is occasionally underlined in red. When choosing a language, sometimes a serious error in CB also occurs.

I am sure that there is a similar problem for all languages with 8-bit encoding: Russian, Greek, Hebrew, Arabic and all others too.
C++ & Fortran in MinGW-GCC-4.3.3 & WinLibs-GCC-14.2 with CB-13596

BlueHazzard

QuoteThanks!

In the present version, the last letter is occasionally underlined in red. When choosing a language, sometimes a serious error in CB also occurs.

I am sure that there is a similar problem for all languages with 8-bit encoding: Russian, Greek, Hebrew, Arabic and all others too.

please give us an example file....

It seems that no one here uses a other encoding, so we need an example file from your side....
What happens if you switch encoding to UTF8?

raynebc

Quote from: raynebc on February 13, 2019, 06:16:31 PM
Khram, are you going to provide one or more example source files in affected character encodings?

If you won't provide an actual source file with which this problem occurs, you probably won't get much help with troubleshooting.

raynebc

That's not a file, that is some content from a file.  Likely-relevant details like file name, file encoding, etc. are lost when you copy and paste text from the file.  If you upload the file to a file hosting site of your choice, it will get the ball moving in the right direction.

Khram

Required encoding Windows-1251. However, this is not important, the UTF-8 does not work exactly the same.
C++ & Fortran in MinGW-GCC-4.3.3 & WinLibs-GCC-14.2 with CB-13596

Khram

C++ & Fortran in MinGW-GCC-4.3.3 & WinLibs-GCC-14.2 with CB-13596

raynebc

Do all .cpp files in the compressed file you uploaded exhibit the problem, or only specific ones (and if so, which specific ones)?  Are you saying UTF-8 encoded files do not have the problems with spell checking?

Khram

Usually dictionaries are compiled in Windows-1251 encoding (why do you need 16 bits if 8 bits are possible and sufficient)
  In addition, the UTP-8 does not work.
C++ & Fortran in MinGW-GCC-4.3.3 & WinLibs-GCC-14.2 with CB-13596

BlueHazzard

Linux mint
File encoding UTF-8 (i open the file from the project, no modification)
Dictionary:
ru_RU.dic: ISO-8859 text, with CRLF, LF line terminators

all seems to work. At least i can not say if it is right or not but nothing seems to be underlined except English words, as expected


@Khram: can you provide:
1 File with
1 line that should not be marked as wrong but is marked as wrong on your system
1 line that should not be marked and is not marked
1 line that should be marked but is not marked
1 line that should be marked and is marked

Khram

Good thank you! Now I'll return the CB from February 9 to test the operation with the UTF-8 encoding (UTF-8 is not yet relevant, as it is not supported by C++ libraries, Win-1251 is always better to use). It is important to note, that all dictionaries in any encodings work well in version CB-9958 ...
C++ & Fortran in MinGW-GCC-4.3.3 & WinLibs-GCC-14.2 with CB-13596

Khram

First: for install dictionary with UTF-8 to online: 
C++ & Fortran in MinGW-GCC-4.3.3 & WinLibs-GCC-14.2 with CB-13596

Khram

C++ & Fortran in MinGW-GCC-4.3.3 & WinLibs-GCC-14.2 with CB-13596

Khram

Similar errors with the Russian-English dictionary in the Win-1251 encoding. (If everything works in Linux, it is very good, in the near future it will be very necessary)
C++ & Fortran in MinGW-GCC-4.3.3 & WinLibs-GCC-14.2 with CB-13596

Khram

And the last test: C++ code and dictionary in UTF-8 encodings. The CB-11562 -  full crashes.
C++ & Fortran in MinGW-GCC-4.3.3 & WinLibs-GCC-14.2 with CB-13596