We present a general theory of liquid crystals under inhomogeneous electric field in a Ginzburg-Landau scheme. The molecular orientation can be deformed by electric field when the dielectric tensor is orientation dependent. We then investigate the influence of a charged particle on the orientation order in a nematic state. The director is aligned either along or perpendicular to the local electric field around the charge, depending on the sign of the dielectric anisotropy. The deformation becomes stronger with increasing the ratio Ze/R, where Ze is the charge and R is the radius of the particle. Numerical analysis shows the presence of defects around the particle for large Ze/R. They are nanometer-scale defects for microscopic ions. If the dielectric anisotropy is positive, a Saturn ring defect appears. If it is negative, a pair of point defects appear apart from the particle surface, each being connected to the surface by a disclination line segment.