简体   繁体   中英

unable to read Special Charecter like # from properties file in java

How to read Special Character # from Properties file in Java

password=Admin123#

when i read read password from properties file i am getting

password=Admin123

您需要转义特殊字符: 如何在属性文件中转义等号,请参见针对您的情况的答案4: https : //stackoverflow.com/a/33808156/3453727

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM