[drupal-devel] [bug] replace binary strings in node.module with hex encodings

kbahey drupal-devel at drupal.org
Tue May 31 22:23:37 UTC 2005


Issue status update for http://drupal.org/node/24025

 Project:      Drupal
 Version:      4.6.0
 Component:    base system
 Category:     bug reports
 Priority:     normal
 Assigned to:  Anonymous
 Reported by:  danielc
 Updated by:   kbahey
 Status:       patch

+1 for this.


They never show up correctly for me (Linux. vim).




kbahey



Previous comments:
------------------------------------------------------------------------

May 31, 2005 - 15:53 : danielc

Attachment: http://drupal.org/files/issues/node.module.nobinary.diff (864 bytes)

drupal/modules/node.module contains three binary strings.  The use of
binary strings causes problems in text editors incapable of handling
such strings.


For example, I have modified this file for internal use, but when I
save the file, the binary strings get converted to question marks. 
While someone could argue that I should get a better text editor, this
issue exists for many users, not just me.  Better yet, the solution is
simple...


PHP allows representing binary characters via hex encoding.  That's
what this patch does.


Thanks.







More information about the drupal-devel mailing list