Re: [gtkmm] Filling a TextView from a text file?
- From: Markus Gerwinski <markus gerwinski de>
- To: gtkmm-list gnome org
- Subject: Re: [gtkmm] Filling a TextView from a text file?
- Date: Tue, 29 Jul 2003 22:23:57 +0200
Barnaby Gray wrote:
> Use istream::get or similar to read blocks of data from the text file
> and insert it into the TextView - obviously you'll have to be careful
> with encodings though, and avoiding splitting utf-8 characters between
> blocks (in which case reading line by line, might be easier).
Thanks for the warning, the utf-8 trap would have caught me completely
unprepared...
Is there a difference in performance between bytewise and blockwise reading?
Best,
Markus
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]