Enter problem

Put problem concerning Views, Layouts and other XML-Resources (like AndroidManifest) here.

Enter problem

Postby The_One_Neo » Thu Feb 05, 2009 3:41 am

i had a problem about read the file, in the inputstream, the string have a lot or "Enter"

but the "Enter" display like this "口"

i tried used the "android edit tools" and "UltraEdit" modify the string "Enter", but failed
Attachments
未命名.PNG
未命名.PNG (11.12 KiB) Viewed 192 times
The_One_Neo
Developer
Developer
 
Posts: 28
Joined: Wed May 07, 2008 9:34 am

Top

Postby MrSnowflake » Thu Feb 05, 2009 12:36 pm

I'm just guessing as I find this very strange. Are you sure the edittext is set to multiline?
User avatar
MrSnowflake
Moderator
Moderator
 
Posts: 1439
Joined: Sat Feb 16, 2008 3:11 pm
Location: Flanders, Belgium

Postby The_One_Neo » Fri Feb 06, 2009 2:54 am

MrSnowflake wrote:I'm just guessing as I find this very strange. Are you sure the edittext is set to multiline?


i resolved the problem follow

1. Save as unix file/format
2. use dos2unix
trick is to remove the carriage return character.
The_One_Neo
Developer
Developer
 
Posts: 28
Joined: Wed May 07, 2008 9:34 am

Postby MrSnowflake » Fri Feb 06, 2009 9:46 am

That shouldn't be nescessairy, java should be able to adjust to the correct line ending... strange.
User avatar
MrSnowflake
Moderator
Moderator
 
Posts: 1439
Joined: Sat Feb 16, 2008 3:11 pm
Location: Flanders, Belgium

Top

Return to View, Layout & Resource Problems

Who is online

Users browsing this forum: No registered users and 8 guests