Thank you for your query,
You continue the fructose, sucrose and gluten free
The reason for the encopresis in your child may be chronic constipation
with probable fecal impaction
So use laxatives whenever she is having constipation, as treatment of constipation will lead to decrease in encopresis.
For enuresis you restrict the fluid intake from 7 pm onwards daily, positive reinforcement with a star and calender technique and by giving incremental rewards on dry days.
You be in regular follow up with your Pediatrician
and Gastroenterologist for the proper management of your child problems.
Hope i have answered your queries.