Gossamer Forum
Home : General : Perl Programming :

another encoding problem

Quote Reply
another encoding problem
i have a file that contains this excerpt:
Code:
# Select fields. Field name => 'comma seperated list of drop down options'.
%select_fields = (
);


# client is both radio and checkbox so checkbox can be used on search form


# Radio fields. Field name => comma seperated list of radio buttons.
%radio_fields = (
'Type' => 'DBMan,Delicia,Client,D2015',
'Display' => 'Yes,No,Deleted',
'Followup' => 'Yes,No',
'Client' => 'delicia,dreydev,ohs1968,bhccwga,interiorsolutions,danaespa,knue,langford,kudzu,suwaneeday',
'Status_public' => 'n/a,Planning,Coding,Alpha,Beta,Complete',
'Status_private' => 'n/a,Planning,Coding,Alpha,Beta,Complete'
);


# Checkbox fields. Field name => Checkbox value.
%checkbox_fields = (
'Category' => 'Configuration,Variable,Flag,Subroutine,Field,FieldType,Problem,TroubleTip,File,Hack,ChangeLog,Other',
'Client' => 'delicia,dreydev,ohs1968,bhccwga,knue',
'Installed' => 'delicia,dreydev,ohs1968,bhccwga,knue'
);



i have a routine to read the file into a textarea. when i save the file, all the % signs are changed to weird characters. how do i prevent this? thanks!
Subject Author Views Date
Thread another encoding problem delicia 2303 Jul 21, 2022, 7:24 AM
Thread Re: [delicia] another encoding problem
delicia 2237 Jul 21, 2022, 6:20 PM
Thread Re: [delicia] another encoding problem
Andy 2230 Jul 22, 2022, 8:46 AM
Thread Re: [Andy] another encoding problem
delicia 2229 Jul 22, 2022, 9:20 AM
Thread Re: [delicia] another encoding problem
Andy 2222 Jul 22, 2022, 10:17 PM
Thread Re: [Andy] another encoding problem
delicia 2217 Jul 23, 2022, 5:41 AM
Post Re: [delicia] another encoding problem
Andy 2213 Jul 23, 2022, 5:51 AM