After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 730963 - gconvert: mention that the g_convert len should be in bytes
gconvert: mention that the g_convert len should be in bytes
Status: RESOLVED FIXED
Product: glib
Classification: Platform
Component: docs
unspecified
Other All
: Normal normal
: ---
Assigned To: gtkdev
gtkdev
Depends on:
Blocks:
 
 
Reported: 2014-05-29 22:24 UTC by Thiago Sousa Santos
Modified: 2014-05-30 11:51 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
gconvert: mention that the g_convert len should be in bytes (1.97 KB, patch)
2014-05-29 22:24 UTC, Thiago Sousa Santos
committed Details | Review

Description Thiago Sousa Santos 2014-05-29 22:24:49 UTC
Minor documentation improvement to mention that the g_convert (and friends)
'len' parameters are in bytes.
Comment 1 Thiago Sousa Santos 2014-05-29 22:24:52 UTC
Created attachment 277498 [details] [review]
gconvert: mention that the g_convert len should be in bytes

Some charsets have each char with more than one byte, make it clear that
the length should be in bytes
Comment 2 Allison Karlitskaya (desrt) 2014-05-30 06:40:54 UTC
Review of attachment 277498 [details] [review]:

Looks good.  Thanks :)
Comment 3 Thiago Sousa Santos 2014-05-30 11:45:20 UTC
(In reply to comment #2)
> Review of attachment 277498 [details] [review]:
> 
> Looks good.  Thanks :)

Thanks for the quick review and, just for the record, I don't have commit rights in glib so someone must push this for me.
Comment 4 Allison Karlitskaya (desrt) 2014-05-30 11:51:44 UTC
Attachment 277498 [details] pushed as 79f930f - gconvert: mention that the g_convert len should be in bytes