java - Copy Paste from Central Repository is Weird -
this question bit odd -- bear me. if wrong site ask question, please kindly advise correct stack site.
i use website http://search.maven.org find java dependencies maven-based projects.
in dependency information box (for apache maven), double click highlight text, copy-paste favourite text editor. @ raw bytes. weird. if paste directly pom.xml
file, maven cries foul during validate
stage badly formatted xml.
example raw text octal literals:
<dependency> \302\240\302\240\302\240\302\240<groupid>cglib</groupid> \302\240\302\240\302\240\302\240<artifactid>cglib-nodep</artifactid> \302\240\302\240\302\240\302\240<version>2.1_3</version> </dependency>
am crazy or else have issue? problem web browser (chrome), text editor (notepad++), operating system (windows 7) or central repo website?
update
- i tried copying google chrome , pasting various places. have same issue. tried pasting cygwin session running vim. same issue.
- i tried internet explorer 9 , text has regular whitespace (\040).
this looks encoding issue either central repo website, or browser, google chrome.
if seems there conversion between unicode , and ascii.
"\302\240" whitespace in unicode , guess paste ansi document , somewhere conversion kicks in.
i can't reproduce maxthon, guess issue chrome or else interferring pasting (like notepad++ plugins maybe).
Comments
Post a Comment