Автор Тема: BlackBox CB 1.6 & unicode  (Прочитано 9444 раз)

valexey

  • Administrator
  • Hero Member
  • *****
  • Сообщений: 1990
    • Просмотр профиля
BlackBox CB 1.6 & unicode
« : Декабрь 25, 2011, 10:12:03 pm »
Я правильно понимаю, что в BB 1.6  rc6 искаропки имеет полную UCS-2? Насколько оно там доведено до ума вообще?

Также правильно ли я понимаю, что BB 1.6 rc6, в отличае от java, не поддерживает UTF-16?
"но сейчас, чтобы компенсировать растущую мощность компьютеров, программисты используют фреймворки"

Romiras

  • Sr. Member
  • ****
  • Сообщений: 264
    • Просмотр профиля
    • Romiras Dev Lab
Re: BlackBox CB 1.6 & unicode
« Ответ #1 : Декабрь 26, 2011, 12:51:24 pm »
Разве в КП тип CHAR не в кодировке UTF-16?

Q: What is the difference between UCS-2 and UTF-16?

A: UCS-2 is obsolete terminology which refers to a Unicode implementation up to Unicode 1.1, before surrogate code points and UTF-16 were added to Version 2.0 of the standard. This term should now be avoided.

UCS-2 does not define a distinct data format, because UTF-16 and UCS-2 are identical for purposes of data exchange. Both are 16-bit, and have exactly the same code unit representation.

Sometimes in the past an implementation has been labeled "UCS-2" to indicate that it does not support supplementary characters and doesn't interpret pairs of surrogate code points as characters. Such an implementation would not handle processing of character properties, code point boundaries, collation, etc. for supplementary characters.

А отчего вопрос возник?

valexey

  • Administrator
  • Hero Member
  • *****
  • Сообщений: 1990
    • Просмотр профиля
Re: BlackBox CB 1.6 & unicode
« Ответ #2 : Декабрь 26, 2011, 12:54:46 pm »
Мне может понадобиться в ББ отображать текст полученный в UTF-8, а в UTF-8 имеем полный набор юникод-символов, в отличае от UCS-2 например.
"но сейчас, чтобы компенсировать растущую мощность компьютеров, программисты используют фреймворки"