Questions tagged [chars]

a datatype that can hold a character of the implementation’s character set.

208 questions
-1
votes
1 answer

PoDoFo library c++ polish text to pdf

This solution doesn't work for me. Any other options? EDIT I have this: string font = "resources//fonts//FreeSans.ttf"; PdfStreamedDocument document(output_pdf_name.c_str()); PdfPainter painter; PdfPage* page; page =…
Fryderyk
  • 61
  • 1
  • 7
-1
votes
1 answer

c++ program shuts down in windows comparing a char to an array

I have this part in the program char size_input[5]={'1','0','4','-'}; for (int i=0;i<6;i++){ cin >> size_input[i]; if(size_input[i]!=char(45)){ valid_size_characters++; }else{ i=6; } } It compiles with no…
-1
votes
1 answer

PrintWriter writes something strange to txt

I wanted this program to write UTF-8 letters in .txt file but as a result i have numbers and other non-sense chars. Could anyone help me to solve it? I have no idea how to make it in print writer. I'll appreciate any help. Here's my code. //all…
-1
votes
2 answers

$_GET vs $_SERVER['QUERY_STRING'] - encode issue

I'm accessing my script throw an URL like that http://www.anydomain.com/code.php?a=ií and code.php is basically this