Is there any limit on what I can put in the Customer notes field?
Derek Atkins
warlord at MIT.EDU
Fri Sep 30 13:09:44 EDT 2016
John Ralls <jralls at ceridwen.us> writes:
> David,
>
> You can put any text you like in the Notes field, but make sure that
> it's legitimate XML PData: Use the & and < entities if you need
> to use those characters, and don't try to put any additional markup in
> it. The only size limitation would be imposed by the GUI, which uses a
> GtkTextBuffer to hold it. That exposes functions that index bytes (the
> encoding is assumed to be utf8) and return ints, so you're limited to
> 2^31 characters. That should be sufficient for your needs.
If you're editing through the UI then I *THINK* you should be okay and
wouldn't need to encode the strings -- that de/encoding should happen
during the save/load process.
> Regards,
> John Ralls
> Please remember to CC this list on all your replies.
> You can do this by using Reply-To-List or Reply-All.
-derek
--
Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
Member, MIT Student Information Processing Board (SIPB)
URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH
warlord at MIT.EDU PGP key available
More information about the gnucash-user
mailing list