This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 254923 - Navigator has messed character encoding with YAML scalar sequences
Summary: Navigator has messed character encoding with YAML scalar sequences
Status: NEW
Alias: None
Product: web
Classification: Unclassified
Component: YAML (show other bugs)
Version: 8.0.2
Hardware: PC Linux
: P3 normal (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-02 06:03 UTC by Ammu
Modified: 2015-09-03 13:13 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screen capture showing issue (27.55 KB, image/png)
2015-09-02 06:03 UTC, Ammu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ammu 2015-09-02 06:03:28 UTC
Created attachment 155817 [details]
Screen capture showing issue

Create new Yaml file with content:

## YAML Template.
---

- Aakkoset
- Ääkköset

    

The first item shows correct in the navigator, but the second one is messed up. 

With content:

## YAML Template.
---

Aakkoset: Ääkköset
Ääkköset: Aakkoset

Everything looks just fine


With content:

## YAML Template.
---

Aakkoset: 
    - Ääkköset

Ääkköset:
    - Aakkoset

The first nested sequence item Is messed up, but the second mapping item shows up just fine. Maybe this is an issue with just sequence items?
Comment 1 Jiri Kovalsky 2015-09-02 17:57:48 UTC
Reassigning for further evaluation.
Comment 2 Petr Pisl 2015-09-03 13:13:52 UTC
Reproducible. The problem is in the YamlParser in NetBeans, there is translated the source into an array of bytes and probably this transformation is not done correctly.