Questions tagged [supplementary]

Supplementary code-points are Unicode code-points ≥ 0x10000.

The unicode glossary defines a supplementary code-point:

A Unicode code point between U+10000 and U+10FFFF.

Supplementary code-points are a source of subtle bugs in many programs because many languages define "char" as a 16b UTF-16 code-unit. Supplementary code-points do not fit in a single UTF-16 code-unit, so instead have two be encoded as two surrogates.

23 questions
2
votes
0 answers

UICollectionView layoutAttributesForElementsInRect not returning reusableViews

I am trying to implement a UICollectionView using supplementaryViews. I use a Nib file to create my supplementary view. Here is the method in the layout to add the supplementaryView: NSMutableArray *attributesInRect = [[super…
foOg
  • 3,076
  • 3
  • 17
  • 18
0
votes
2 answers

Java RegEx matcher breaks characters outside the BMP

I'm currently writing a util class to sanitize input, that is saved to an xml document. Sanitizing for us means, that all illegal characters (https://en.wikipedia.org/wiki/Valid_characters_in_XML#XML_1.0) are just removed from the string. I tried to…
razr
  • 722
  • 7
  • 18
0
votes
1 answer

mysql server replaces supplementary Unicode characters with a question mark (?)

I am using a Mysql 5.6.27 server and python as the application. The database and tables are set to default of utf32_general_ci and the column type to utf8mb4. using Anaconda Python 2.7 on Mac OS In my program, I am opening the mysql connection with…
Asit M
  • 83
  • 2
  • 8
0
votes
1 answer

Supplementary character support in Java web application with Mysql

I am able to enter supplementary chars in textbox but it doesn't get save in database. I am using MySql database. I have used spring and hibernate in my application. What change should I make to enable supplementary chars support in my…
user1397872
  • 49
  • 2
  • 9
0
votes
0 answers

ODBC crashed while inserting supplementary characters via MySql

I am connecting to MySql version 5.5 through ODBC Mysql Connector version 5.3. To insert supplementary characters, I changed the corresponding Character set and Collation to utf8mb4. Through Odbc, I am able to insert characters within utf8 range…
Indrabhushan
  • 98
  • 10
0
votes
2 answers

ODBC connector support for utf8mb4 in MYSQL

I have been stuck up in this scenario. My application is in C++ which connects to MySQL database 5.5.34 through MySQL odbc connector v5.2 Unicode Driver. My tables were using the character set and collation properties 'utf-8'. To insert…
D3XT3R
  • 151
  • 1
  • 12
0
votes
1 answer

UICollectionView SupplementaryView Add UIButton to Footer

Does anyone know how to add a button to a supplementaryView footer that is inside of an UICollectionView? I tried to code one but I keep getting errors, and I currently have this error in the viewForSupplementaryElementOfKind function;…
-1
votes
1 answer

how to print a glyph of supplementary characters in java onto my JTextField when i just click the button

I have a simple program just need to set the character whose Unicode value larger the character data type (supplementary character) on JTextField when the button is click .Tell me i am really fed up and how i will do it .This problem have already…
Siddharth
  • 107
  • 1
  • 10
1
2