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

Summary: Navigator has messed character encoding with YAML scalar sequences
Product: web Reporter: Ammu
Component: YAMLAssignee: Petr Pisl <ppisl>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.0.2   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Attachments: Screen capture showing issue

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.