In order to effectively improve the speed of inputting Hmong characters,a novel phonetic-shape encoding method is proposed.Formal definition of the method is given in the framework of context-free grammar.The proposed method is utilized to realize to input Hmong characters by combining with phonetic code and shape code.According to this method,the input coding sequence of a Hmong character is independent of the pronunciation of the character itself,and is considered as a combination of two phonetic codes and two shape codes.The phonetic codes are determined by the Chinese pinyin initials of the first component and the final component.The shapes codes are determined by the Chinese pinyin initials of the names of the last stroke & the font structure,respectively.Experimental results show that compared with the previous method,the proposed method achieves the predetermined goals in terms of higher learnability and usability,lower coding repetition rate,faster input speed,and higher input correctness.